Cannot load necessary modules: No module named OpenGL.GL

Bug #1214098 reported by Gabriel_P
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
impressive (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Trying to run Impressive version 0.10.3-WIP results in an error:

Welcome to Impressive version 0.10.3-WIP
Oops! Cannot load necessary modules: No module named OpenGL.GL
To use Impressive, you need to install the following Python modules:
 - PyOpenGL [python-opengl] http://pyopengl.sourceforge.net/
 - PyGame [python-pygame] http://www.pygame.org/
 - PIL [python-imaging] http://www.pythonware.com/products/pil/
 - PyWin32 (OPTIONAL, Win32) http://starship.python.net/crew/mhammond/win32/
Additionally, please be sure to have pdftoppm or GhostScript installed if you
intend to use PDF input.

All the python packages are installed in my system as is GhostScript. I've tried installing the package 'libgl1-mesa-dev' as per this post http://goo.gl/S5TsJK but it didn't help.

Revision history for this message
Daniel Letzeisen (dtl131) wrote :

Can yhou run the following command?:
python -c "from OpenGL import GL"

Revision history for this message
Gabriel_P (gabp) wrote :

Sure can, here's the output:

Traceback (most recent call last):
  File "<string>", line 1, in <module>
ImportError: No module named OpenGL

Just FYI, running

sudo apt-get install python-opengl

tells me that it is already installed.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in impressive (Ubuntu):
status: New → Confirmed
Revision history for this message
Simon Davis (davis-decent) wrote :

Exactly the same problem here:

$ sudo apt-get install python-opengl
Reading package lists... Done
Building dependency tree
Reading state information... Done
python-opengl is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

$ python -c "from OpenGL import GL"
Traceback (most recent call last):
  File "<string>", line 1, in <module>
ImportError: No module named OpenGL

Revision history for this message
Simon Davis (davis-decent) wrote :

Sorry, figured it out a second later. It was caused by a wrong use of virtualenv by the application here. Everything works just fine now.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.