[Pythonmac-SIG] Cannot import name PyPIRCCommand
Chris Weisiger
cweisiger at msg.ucsf.edu
Tue Feb 8 22:48:51 CET 2011
This is really bizarre. I have a Python program that I've built many times
successfully in the past. Now I'm getting this error when I try to build it.
Nothing in the program itself has changed since I last built it
successfully, and I'm fairly confident that I haven't changed my Python
install either, so I have no idea why the build process would be different
now. Here's the full traceback:
% /usr/local/bin/python2.5 setup.py py2app
Traceback (most recent call last):
File "setup.py", line 18, in <module>
setup_requires=['py2app'],
File
"/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/distutils/core.py",
line 112, in setup
_setup_distribution = dist = klass(attrs)
File
"/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/setuptools-0.6c11-py2.5.egg/setuptools/dist.py",
line 260, in __init__
File
"/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/setuptools-0.6c11-py2.5.egg/setuptools/dist.py",
line 284, in fetch_build_eggs
File
"/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/setuptools-0.6c11-py2.5.egg/pkg_resources.py",
line 563, in resolve
File
"/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/setuptools-0.6c11-py2.5.egg/pkg_resources.py",
line 799, in best_match
File
"/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/setuptools-0.6c11-py2.5.egg/pkg_resources.py",
line 811, in obtain
File
"/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/setuptools-0.6c11-py2.5.egg/setuptools/dist.py",
line 327, in fetch_build_egg
File
"/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/setuptools-0.6c11-py2.5.egg/setuptools/command/easy_install.py",
line 446, in easy_install
File
"/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/setuptools-0.6c11-py2.5.egg/setuptools/command/easy_install.py",
line 476, in install_item
File
"/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/setuptools-0.6c11-py2.5.egg/setuptools/command/easy_install.py",
line 655, in install_eggs
File
"/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/setuptools-0.6c11-py2.5.egg/setuptools/command/easy_install.py",
line 930, in build_and_install
File
"/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/setuptools-0.6c11-py2.5.egg/setuptools/command/easy_install.py",
line 919, in run_setup
File
"/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/setuptools-0.6c11-py2.5.egg/setuptools/sandbox.py",
line 62, in run_setup
File
"/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/setuptools-0.6c11-py2.5.egg/setuptools/sandbox.py",
line 105, in run
File
"/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/setuptools-0.6c11-py2.5.egg/setuptools/sandbox.py",
line 64, in <lambda>
File "setup.py", line 12, in <module>
OPTIONS = {}
ImportError: cannot import name PyPIRCCommand
I'm not able to cd into the egg to examine its contents, sadly, so I can't
figure out what exactly it's trying to do. Has anyone seen an error like
this before?
-Chris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/pythonmac-sig/attachments/20110208/f19799a7/attachment.html>
More information about the Pythonmac-SIG
mailing list