[Distutils] easy_install is not robust against network errors
Manlio Perillo
manlio.perillo at gmail.com
Thu Mar 4 22:24:13 CET 2010
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I have found that easy_install is not very robust against network problems.
$easy_install --version
distribute 0.6.10
Searching for SQLAlchemy==dev
Reading http://pypi.python.org/simple/SQLAlchemy/
Download error: (113, 'No route to host') -- Some packages may not be found!
Couldn't retrieve index page for 'SQLAlchemy'
Scanning index of all packages (this may take a while)
Reading http://pypi.python.org/simple/
Download error: (101, 'Network is unreachable') -- Some packages may not
be found!
No local packages or download links found for SQLAlchemy==dev
Best match: None
Traceback (most recent call last):
File "organizzasposi/deps/bin/easy_install", line 8, in <module>
load_entry_point('setuptools==0.6c11', 'console_scripts',
'easy_install')()
File
"/home/manlio/.../deps/lib/python2.5/site-packages/setuptools-0.6c11-py2.5.egg/setuptools/command/easy_install.py",
line 1712, in main
File
"/home/manlio/.../deps/lib/python2.5/site-packages/setuptools-0.6c11-py2.5.egg/setuptools/command/easy_install.py",
line 1700, in with_ei_usage
File
"/home/manlio/.../deps/lib/python2.5/site-packages/setuptools-0.6c11-py2.5.egg/setuptools/command/easy_install.py",
line 1716, in <lambda>
File "/usr/lib/python2.5/distutils/core.py", line 151, in setup
dist.run_commands()
File "/usr/lib/python2.5/distutils/dist.py", line 974, in run_commands
self.run_command(cmd)
File "/usr/lib/python2.5/distutils/dist.py", line 994, in run_command
cmd_obj.run()
File
"/home/manlio/.../deps/lib/python2.5/site-packages/setuptools-0.6c11-py2.5.egg/setuptools/command/easy_install.py",
line 211, in run
File
"/home/manlio/.../deps/lib/python2.5/site-packages/setuptools-0.6c11-py2.5.egg/setuptools/command/easy_install.py",
line 434, in easy_install
File
"/home/manlio/.../deps/lib/python2.5/site-packages/setuptools-0.6c11-py2.5.egg/setuptools/package_index.py",
line 475, in fetch_distribution
AttributeError: 'NoneType' object has no attribute 'clone'
Thanks Manlio
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkuQJP0ACgkQscQJ24LbaUREHgCgmZSiaiEzN7EyMWCOrcEtVJqm
W/YAn0cGNpJXjTL3CflWHIzad5FikjLW
=wZeY
-----END PGP SIGNATURE-----
More information about the Distutils-SIG
mailing list