From: Uwe H. <uwe...@tg...> - 2006-11-28 19:47:39
|
Sir, I went carefully through the installation instruction on http://pythoncard.sourceforge.net/macosx_tiger_installation.html Then, after which pythonw /Library/Frameworks/Python.framework/Versions/Current/bin/pythonw cd /Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/ site-packages/PythonCard/samples/minimal pythonw minimal.py I get the following dump: Traceback (most recent call last): File "minimal.py", line 8, in ? from PythonCard import model File "/sw/lib/python2.4/site-packages/PythonCard/model.py", line 21, in ? File "//Library/Frameworks/Python.framework/Versions/2.4/lib/ python2.4/site-packages/wx-2.6-mac-unicode/wx/__init__.py", line 42, in ? from wx._core import * File "//Library/Frameworks/Python.framework/Versions/2.4/lib/ python2.4/site-packages/wx-2.6-mac-unicode/wx/_core.py", line 4, in ? import _core_ ImportError: Failure linking new module: /Library/Frameworks/ Python.framework/Versions/2.4/lib/python2.4/site-packages/wx-2.6-mac- unicode/wx/_core_.so: Symbol not found: __cg_TIFFSetErrorHandler Referenced from: /System/Library/Frameworks/ ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/ Versions/A/ImageIO Expected in: /sw/lib/libTIFF.dylib I understand that PythonCard is well in the path: pythonw >>> import sys >>> sys.path ['/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/ site-packages/PythonCard/samples/minimal', '/Library/Frameworks/ Python.framework/Versions/2.4/lib/python2.4/site-packages', '/Library/ Frameworks/Python.framework/Versions/2.4/lib/python24.zip', '/Library/ Frameworks/Python.framework/Versions/2.4/lib/python2.4', '/Library/ Frameworks/Python.framework/Versions/2.4/lib/python2.4/plat-darwin', '/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/plat- mac', '/Library/Frameworks/Python.framework/Versions/2.4/lib/ python2.4/plat-mac/lib-scriptpackages', '/Library/Frameworks/ Python.framework/Versions/2.4/lib/python2.4/lib-tk', '/Library/ Frameworks/Python.framework/Versions/2.4/lib/python2.4/lib-dynload', '/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site- packages/wx-2.6-mac-unicode'] >>> However, libTIFF.dylib is expected at the wrong place and also the traceback line 21 points to a file in /sw... which does not exist. I guess there is a mixup with pathes. Can you help ? Thanks, Falco |