Als je niet met de native Python install werkt, maar in plaats daarvan met
een install uit MacPorts, dan heb je als het goed is minder last van
incompatibility issues.

--
http://timmolendijk.nlhttp://twitter.com/timmolendijk


2009/10/4 Floris van Manen <v...@klankschap.nl>

> Er zijn van die momenten dat je plotseling de broodkruimels niet meer zo
> snel terug vindt.
> Van die eenvoudige dingen met enorme verbose output ...
>
> Zo probeer ik om mijn MBP 10.6 met daarop python 2.6.3 met behulp van
> easy_install een eenvoudig pakket te installeren...
> Maar wat er dan precies mis gaat is niet 1,2,3 op te maken (voor een
> amateur :-)
>
> Wie heeft een hint ?
>
> Floris
>
>
>
> $ sudo easy_install appscript
> Searching for appscript
> Reading http://pypi.python.org/simple/appscript/
> Reading http://appscript.sourceforge.net
> Reading http://freespace.virgin.net/hamish.sanderson/appscript.html
> Best match: appscript 0.20.0
> Downloading
> http://pypi.python.org/packages/source/a/appscript/appscript-0.20.0.tar.gz#md5=c803c36665bfe8c8ae55f0ebaf7de684
> Processing appscript-0.20.0.tar.gz
> Running appscript-0.20.0/setup.py -q bdist_egg --dist-dir
> /tmp/easy_install-RDJOdG/appscript-0.20.0/egg-dist-tmp-QkOeVE
> 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.6c9', 'console_scripts',
> 'easy_install')()
>  File
> "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/setuptools-0.6c9-py2.6.egg/setuptools/command/easy_install.py",
> line 1671, in main
>  File
> "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/setuptools-0.6c9-py2.6.egg/setuptools/command/easy_install.py",
> line 1659, in with_ei_usage
>  File
> "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/setuptools-0.6c9-py2.6.egg/setuptools/command/easy_install.py",
> line 1675, 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
> "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/setuptools-0.6c9-py2.6.egg/setuptools/command/easy_install.py",
> line 211, in run
>  File
> "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/setuptools-0.6c9-py2.6.egg/setuptools/command/easy_install.py",
> line 446, in easy_install
>  File
> "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/setuptools-0.6c9-py2.6.egg/setuptools/command/easy_install.py",
> line 476, in install_item
>  File
> "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/setuptools-0.6c9-py2.6.egg/setuptools/command/easy_install.py",
> line 655, in install_eggs
>  File
> "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/setuptools-0.6c9-py2.6.egg/setuptools/command/easy_install.py",
> line 930, in build_and_install
>  File
> "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/setuptools-0.6c9-py2.6.egg/setuptools/command/easy_install.py",
> line 919, in run_setup
>  File
> "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/setuptools-0.6c9-py2.6.egg/setuptools/sandbox.py",
> line 27, in run_setup
>  File
> "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/setuptools-0.6c9-py2.6.egg/setuptools/sandbox.py",
> line 63, in run
>  File
> "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/setuptools-0.6c9-py2.6.egg/setuptools/sandbox.py",
> line 29, in <lambda>
>  File "setup.py", line 51, in <module>
>  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
> "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/setuptools-0.6c9-py2.6.egg/setuptools/command/bdist_egg.py",
> line 174, in run
>  File
> "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/setuptools-0.6c9-py2.6.egg/setuptools/command/bdist_egg.py",
> line 161, in call_command
>  File
> "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/cmd.py",
> line 333, in run_command
>    self.distribution.run_command(command)
>  File
> "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/dist.py",
> line 995, in run_command
>    cmd_obj.run()
>  File
> "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/setuptools-0.6c9-py2.6.egg/setuptools/command/install_lib.py",
> line 20, in run
>  File
> "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/command/install_lib.py",
> line 113, in build
>    self.run_command('build_ext')
>  File
> "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/cmd.py",
> line 333, in run_command
>    self.distribution.run_command(command)
>  File
> "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/dist.py",
> line 995, in run_command
>    cmd_obj.run()
>  File
> "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/setuptools-0.6c9-py2.6.egg/setuptools/command/build_ext.py",
> line 46, in run
>  File
> "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/command/build_ext.py",
> line 340, in run
>    self.build_extensions()
>  File
> "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/command/build_ext.py",
> line 449, in build_extensions
>    self.build_extension(ext)
>  File
> "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/setuptools-0.6c9-py2.6.egg/setuptools/command/build_ext.py",
> line 175, in build_extension
>  File
> "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/command/build_ext.py",
> line 460, in build_extension
>    ext_path = self.get_ext_fullpath(ext.name)
>  File
> "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/command/build_ext.py",
> line 633, in get_ext_fullpath
>    filename = self.get_ext_filename(modpath[-1])
>  File
> "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/setuptools-0.6c9-py2.6.egg/setuptools/command/build_ext.py",
> line 85, in get_ext_filename
> KeyError: 'ae'
>
> _______________________________________________
> Python-nl mailing list
> Python-nl@python.org
> http://mail.python.org/mailman/listinfo/python-nl
>
_______________________________________________
Python-nl mailing list
Python-nl@python.org
http://mail.python.org/mailman/listinfo/python-nl

Antwoord per e-mail aan