[Pythonmac-SIG] Question on Python 2.5 and CoreGraphics
Robert Love
rblove at houston.rr.com
Sun Jan 7 19:39:36 CET 2007
Back in 2005 I had a python script that did some simple image
manipulation with CoreGraphics. Since then I have upgraded to python
2.5 and the script no longer works. I think you all tried to
explain this to me when I upgraded but didn't follow what was being
said.
I'm running a PPC machine with 10.4.
which python
/Library/Frameworks/Python.framework/Versions/Current/bin/python
and
ls -l /Library/Frameworks/Python.framework/Versions/Current/bin/python
lrwxr-xr-x 1 root admin 9 Sep 22 23:58 /Library/Frameworks/
Python.framework/Versions/Current/bin/python -> python2.5
running the script
python mine.py arguments
Traceback (most recent call last):
File "mine.py", line 8, in <module>
from CoreGraphics import *
ImportError: No module named CoreGraphics
If I use
python2.3 mine.py arguments
it works as expected.
which python2.3
/usr/bin/python2.3
Is there a way to use CoreGraphics with python 2.5? Do I need to
install more? Link libraries?
More information about the Pythonmac-SIG
mailing list