Message93591
Due to a change in distutils released with Python 2.6.3, packages that
use setuptools (version 0.6c9, as of this writing), or the easy_install
command, to build C extension modules fail with a cryptic message ending
with:
... .egg/setuptools/command/build_ext.py", line 85, in get_ext_filename
ext = self.ext_map[fullname] KeyError: <module_name>
Among the packages known to be affected include lxml, zope-interface,
jinja2, and, hence, packages dependent on these packages (e.g. sphinx,
twisted, etc.).
The issue is described in greater detail in the Distribute project
tracker:
http://bitbucket.org/tarek/distribute/issue/41/keyerror-_speedups
The solution there was to modify Distribute, a fork of setuptools, to
accommodate the change in distutils.
An issue has been opened on the setuptools tracker for this problem:
http://bugs.python.org/setuptools/issue85
A discussion on the distutils-sig mailing list starts here:
http://mail.python.org/pipermail/distutils-sig/2009-October/013534.html
The distutils change forces affected users to either:
(1) migrate from setuptools to Distribute, which can generally done by
simply running:
easy_install distribute
(2) avoid upgrading to 2.6.3 until a fix for setuptools is released
(or patch setuptools themselves)
(3) patch or downgrade distutils to restore the previous behavior
The primary purpose of this issue is to serve as a placeholder for users
searching the Python issue tracker for this failure symptom. |
|
Date |
User |
Action |
Args |
2009-10-05 11:28:37 | ned.deily | set | recipients:
+ ned.deily, barry, tarek |
2009-10-05 11:28:35 | ned.deily | set | messageid: <1254742115.57.0.346118025313.issue7064@psf.upfronthosting.co.za> |
2009-10-05 11:28:33 | ned.deily | link | issue7064 messages |
2009-10-05 11:28:32 | ned.deily | create | |
|