2011-11-08 4 views
2

Je reçois une erreur lorsque j'essaie d'utiliser VPython sous Ubuntu 11.10. J'ai installé le programme en utilisant le logiciel Ubuntu. Toutes les instructions supplémentaires que j'ai trouvées sont soit pour des versions beaucoup plus anciennes ou me confondre. Que dois-je faire pour utiliser VPython? Je cours Python 2.7.2.VPython Erreur sur Ubuntu 11.10

[email protected]:~$ python 
Python 2.7.2+ (default, Oct 4 2011, 20:06:09) 
[GCC 4.6.1] on linux2 
Type "help", "copyright", "credits" or "license" for more information. 
>>> from visual import * 
>>> sphere() 

(python:26388): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap", 

(python:26388): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap", 

(python:26388): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap", 

(python:26388): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap", 

(python:26388): GdkGLExt-WARNING **: Cannot open \xa0\u0003G\u0001 

(python:26388): GdkGLExt-WARNING **: Cannot open P\u000d\x99\u0001 

glibmm-ERROR **: 
unhandled exception (type std::exception) in signal handler: 
what: Unable to get extension function: glCreateProgramObjectARB even though the extension is advertised. 

Trace/breakpoint trap 
+0

Vous pourriez essayer [ubuntu] (http://askubuntu.com/) et/ou [su] – brc

Répondre

5

Il semble que le problème soit lié à OpenGL.

Essayez de mettre à jour votre pilote graphique (assurez-vous que vous avez l'accélération 3D est activée)

essayer aussi installer le paquet dev pour libgtkglextmm-x11, quelqu'un sur le ubuntu forums semble avoir résolu leur problème de cette façon.

+2

'sudo apt-get install libgtkglextmm-x11-1.2-dev' a fait l'affaire. Merci! – paniwani

+0

A travaillé pour moi dans la même situation: merci! – andybuckley

Questions connexes