On 6 November 2011 16:16, Matteo Perini <perini.mat...@gmail.com> wrote:


>
> come da oggetto sto cercando di installare le librerie opengl su ubuntu
> 11.10.
> Penso di aver installato tutto correttamente ma quando vado ad importare i
> moduli ottengo un errore.
>

Come le hai installate?
Da una 11.10 liscia o aggiornata dalla 11.04?


>
> Se scrivo:
> from OpenGL.GL import *
> Ottengo:
>

Provato ora

$ sudo apt-get install python-opengl

poi

Python 2.7.2+ (default, Oct  4 2011, 20:03:08)
[GCC 4.6.1] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from OpenGL.GL import *
>>> OpenGL.platform.baseplatform
<module 'OpenGL.platform.baseplatform' from
'/usr/lib/pymodules/python2.7/OpenGL/platform/baseplatform.pyc'>
>>>
_______________________________________________
Python mailing list
Python@lists.python.it
http://lists.python.it/mailman/listinfo/python

Rispondere a