[Distutils] Twisted and easy_install
Jay Parlar
parlar at gmail.com
Sun Feb 5 16:05:03 CET 2006
I'm having trouble doing an install of the newest Twisted from the
Cheeseshop, using easy_install. I took a quick look through the
archives of distutils-sig, and couldn't find anything. I'm running on
OS X 10.3.9, latest version of setuptools (did an 'easy_install -U
setuptools' right before I tried installing Twisted). I've pasted the
result below. Any thoughts?
Searching for twisted
Reading http://www.python.org/pypi/twisted/
Couldn't find index page for 'twisted' (maybe misspelled?)
Scanning index of all packages (this may take a while)
Reading http://www.python.org/pypi/
Reading http://www.python.org/pypi/Twisted/2.1.0
Reading http://www.twistedmatrix.com
Reading http://twistedmatrix.com/projects/core/
Best match: Twisted 2.1.0
Downloading http://tmrc.mit.edu/mirror/twisted/Twisted/2.1/Twisted-2.1.0.tar.bz2
Processing Twisted-2.1.0.tar.bz2
Running Twisted-2.1.0/setup.py -q bdist_egg --dist-dir
/tmp/easy_install-ssfbd7/Twisted-2.1.0/egg-dist-tmp--DvGj-
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/2.4/bin/easy_install",
line 7, in ?
sys.exit(
File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/setuptools-0.6a9-py2.4.egg/setuptools/command/easy_install.py",
line 1138, in main
setup(script_args = ['-q','easy_install', '-v']+argv, **kw)
File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/distutils/core.py",
line 149, in setup
dist.run_commands()
File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/distutils/dist.py",
line 946, in run_commands
self.run_command(cmd)
File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/distutils/dist.py",
line 966, in run_command
cmd_obj.run()
File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/setuptools-0.6a9-py2.4.egg/setuptools/command/easy_install.py",
line 230, in run
self.easy_install(spec, not self.no_deps)
File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/setuptools-0.6a9-py2.4.egg/setuptools/command/easy_install.py",
line 317, in easy_install
return self.install_item(spec, download, tmpdir, deps)
File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/setuptools-0.6a9-py2.4.egg/setuptools/command/easy_install.py",
line 338, in install_item
dists = self.install_eggs(spec, download, tmpdir)
File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/setuptools-0.6a9-py2.4.egg/setuptools/command/easy_install.py",
line 532, in install_eggs
return self.build_and_install(setup_script, setup_base)
File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/setuptools-0.6a9-py2.4.egg/setuptools/command/easy_install.py",
line 807, in build_and_install
self.run_setup(setup_script, setup_base, args)
File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/setuptools-0.6a9-py2.4.egg/setuptools/command/easy_install.py",
line 796, in run_setup
run_setup(setup_script, args)
File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/setuptools-0.6a9-py2.4.egg/setuptools/sandbox.py",
line 26, in run_setup
DirectorySandbox(setup_dir).run(
File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/setuptools-0.6a9-py2.4.egg/setuptools/sandbox.py",
line 63, in run
return func()
File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/setuptools-0.6a9-py2.4.egg/setuptools/sandbox.py",
line 29, in <lambda>
{'__file__':setup_script, '__name__':'__main__'}
File "setup.py", line 113, in ?
File "./twisted/python/dist.py", line 69, in setup
File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/distutils/core.py",
line 149, in setup
dist.run_commands()
File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/distutils/dist.py",
line 946, in run_commands
self.run_command(cmd)
File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/distutils/dist.py",
line 966, in run_command
cmd_obj.run()
File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/setuptools-0.6a9-py2.4.egg/setuptools/command/bdist_egg.py",
line 167, in run
self.run_command("egg_info")
File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/distutils/cmd.py",
line 333, in run_command
self.distribution.run_command(command)
File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/distutils/dist.py",
line 966, in run_command
cmd_obj.run()
File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/setuptools-0.6a9-py2.4.egg/setuptools/command/egg_info.py",
line 129, in run
writer(self, ep.name, os.path.join(self.egg_info,ep.name))
File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/setuptools-0.6a9-py2.4.egg/setuptools/command/egg_info.py",
line 321, in write_toplevel_names
pkgs = dict.fromkeys(
File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/setuptools-0.6a9-py2.4.egg/setuptools/dist.py",
line 630, in iter_distribution_names
yield ext.name
AttributeError: 'bool' object has no attribute 'name'
Jay P.
More information about the Distutils-SIG
mailing list