Ich nutze die Enthought Python Distribution (unter Mac OS X 10.6).
Ich habe den VPython Installer laufen lassen, der das visual Modul nach
Code: Alles auswählen
/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages
Da EDP aber in
Code: Alles auswählen
/Library/Frameworks/Python.framework/Versions/Current/lib/python2.7/site-packages
Beim importieren von visual stürzt Python allerdings ab:
Code: Alles auswählen
[me]machine @ site-packages $ python
Enthought Python Distribution (EPD) free version -- www.enthought.com
Version: 7.2-2 (32-bit)
(type 'upgrade' or see www.enthought.com/epd/upgrade to get the full EPD)
Python 2.7.2 |EPD_free 7.2-2 (32-bit)| (default, Sep 7 2011, 09:16:50)
[GCC 4.0.1 (Apple Inc. build 5493)] on darwin
Type "packages", "demo", "upgrade" or "enthought" for more information.
>>> import visual
Fatal Python error: PyThreadState_Get: no current thread
Abort trap
[me]machine @ site-packages $ pwd
/Library/Frameworks/Python.framework/Versions/Current/lib/python2.7/site-packages