[Pythonmac-SIG] Pythonw and VPython and Fink

Matthias Milczynski mmilczyn at techfak.uni-bielefeld.de
Tue Feb 14 22:28:30 CET 2006


Hello,

I would like to use SPE (cool Python editor) with vpython, that I  
installed with fink (unfortunately there is no other possibility  
yet). My vpython stuff is located in /sw/lib/python2.4/site-packages/ 
visual, but I run SPE with /usr/local/bin/pythonw2.4. When I try to  
run any vpython script I encounter the following error:

///////////////////////////////////////////////////////////////

Traceback (most recent call last):
   File "bounce.py", line 1, in ?
     from visual import *
   File "/sw/lib/python2.4/site-packages/visual/__init__.py", line  
15, in ?
     import array_backend
   File "/sw/lib/python2.4/site-packages/visual/array_backend.py",  
line 1, in ?
     import cvisual
ImportError: Failure linking new module: /sw/lib/python2.4/site- 
packages/cvisualmodule.so: Symbol not found: _PyObject_IsInstance
   Referenced from: /sw/lib/python2.4/site-packages/cvisualmodule.so
   Expected in: /Library/Frameworks/Python.framework/Versions/2.4/ 
Resources/Python.app/Contents/MacOS/Python


///////////////////////////////////////////////////////////////

I assume that the solution of this problem would be to somehow get a  
fink-based pythonw, but this seems to be not avaiable.
Can anybody help me with this?

Thanks a lot!!

Matthias



More information about the Pythonmac-SIG mailing list