[python-nl] error while trying to install PIL for python26 on OSX 10.6.5
Floris van Manen
vm at klankschap.nl
Sun Dec 26 13:21:03 CET 2010
Nadat ik van het ene op het andere moment een melding krijg dat _image niet (meer) geladen kan worden,
besluit ik om het PIL package dan maar vers te her-installeren.
Maar ook dat loopt nu vast.
Heeft iemand een eenvoudige, werkende oplossing ?
Bestaat er een kant-en-klare gecompileerde versie voor python26 onder osx 10.6.5 ?
$ easy_install pil
Searching for pil
Reading http://pypi.python.org/simple/pil/
Reading http://www.pythonware.com/products/pil
Reading http://effbot.org/zone/pil-changes-115.htm
Reading http://effbot.org/downloads/#Imaging
Best match: PIL 1.1.7
Downloading http://effbot.org/media/downloads/PIL-1.1.7.tar.gz
Processing PIL-1.1.7.tar.gz
Running PIL-1.1.7/setup.py -q bdist_egg --dist-dir /var/folders/8k/8kMnR8La2RaKoE+BYusq3++++TI/-Tmp-/easy_install-I0yCK7/PIL-1.1.7/egg-dist-tmp-lZu4V0
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/2.6/bin/easy_install", line 8, in <module>
load_entry_point('setuptools==0.6c11', 'console_scripts', 'easy_install')()
File "build/bdist.macosx-10.3-fat/egg/setuptools/command/easy_install.py", line 1702, in main
File "build/bdist.macosx-10.3-fat/egg/setuptools/command/easy_install.py", line 1690, in with_ei_usage
File "build/bdist.macosx-10.3-fat/egg/setuptools/command/easy_install.py", line 1706, in <lambda>
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/core.py", line 152, in setup
dist.run_commands()
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/dist.py", line 975, in run_commands
self.run_command(cmd)
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/dist.py", line 995, in run_command
cmd_obj.run()
File "build/bdist.macosx-10.3-fat/egg/setuptools/command/easy_install.py", line 236, in run
File "build/bdist.macosx-10.3-fat/egg/setuptools/command/easy_install.py", line 471, in easy_install
File "build/bdist.macosx-10.3-fat/egg/setuptools/command/easy_install.py", line 501, in install_item
File "build/bdist.macosx-10.3-fat/egg/setuptools/command/easy_install.py", line 680, in install_eggs
File "build/bdist.macosx-10.3-fat/egg/setuptools/command/easy_install.py", line 957, in build_and_install
File "build/bdist.macosx-10.3-fat/egg/setuptools/command/easy_install.py", line 946, in run_setup
File "build/bdist.macosx-10.3-fat/egg/setuptools/sandbox.py", line 29, in run_setup
File "build/bdist.macosx-10.3-fat/egg/setuptools/sandbox.py", line 70, in run
File "build/bdist.macosx-10.3-fat/egg/setuptools/sandbox.py", line 31, in <lambda>
File "setup.py", line 486, in <module>
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/core.py", line 113, in setup
_setup_distribution = dist = klass(attrs)
File "build/bdist.macosx-10.3-fat/egg/setuptools/dist.py", line 224, in __init__
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/dist.py", line 270, in __init__
self.finalize_options()
File "build/bdist.macosx-10.3-fat/egg/setuptools/dist.py", line 257, in finalize_options
File "build/bdist.macosx-10.3-fat/egg/pkg_resources.py", line 1922, in load
while parts and parts[-1]=='*final-': parts.pop()
ImportError: <module 'setuptools.dist' from '/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/distribute-0.6.3-py2.6.egg/setuptools/dist.pyc'> has no 'check_packages' attribute
More information about the Python-nl
mailing list