[Pythoncard-users] PythonCard on Intel-Mac startup problem
by Uwe Hobohm other posts by this author
Nov 28 2006 3:11PM messages near this date
[pythoncard] John
|
[Pythoncard-users] More questions
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
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Pythoncard-users mailing list
Pythoncard-users@[...].net
https://lists.sourceforge.net/lists/listinfo/pythoncard-users
|