嘗試在Ubuntu 11.10上使用VPython時出現錯誤。我使用Ubuntu軟件中心安裝了該程序。我發現的所有附加指令都是舊版本或混淆我。爲了使用VPython我需要做什麼?我正在運行Python 2.7.2。Ubuntu 11.10上的VPython錯誤
[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
你可以試試[ubuntu](http://askubuntu.com/)和/或[su] – brc