Я скачал ez_Setup.py
отсюда.
У меня есть Python 2.6 на CentOS 6.
Когда я делаю это:
python ez_setup.py
Я продолжаю получать эту ошибку:
Downloading http://cheeseshop.python.org/packages/2.6/s/setuptools/setuptools-0.6a8-py2.6.egg
Traceback (most recent call last):
File "ez_setup.py", line 214, in <module>
main(sys.argv[1:])
File "ez_setup.py", line 147, in main
egg = download_setuptools(version, to_dir=tmpdir, delay=0)
File "ez_setup.py", line 128, in download_setuptools
src = urllib2.urlopen(url)
File "/usr/lib/python2.6/urllib2.py", line 126, in urlopen
return _opener.open(url, data, timeout)
File "/usr/lib/python2.6/urllib2.py", line 397, in open
response = meth(req, response)
File "/usr/lib/python2.6/urllib2.py", line 510, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/lib/python2.6/urllib2.py", line 429, in error
result = self._call_chain(*args)
File "/usr/lib/python2.6/urllib2.py", line 369, in _call_chain
result = func(*args)
File "/usr/lib/python2.6/urllib2.py", line 616, in http_error_302
return self.parent.open(new, timeout=req.timeout)
File "/usr/lib/python2.6/urllib2.py", line 397, in open
response = meth(req, response)
File "/usr/lib/python2.6/urllib2.py", line 510, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/lib/python2.6/urllib2.py", line 435, in error
return self._call_chain(*args)
File "/usr/lib/python2.6/urllib2.py", line 369, in _call_chain
result = func(*args)
File "/usr/lib/python2.6/urllib2.py", line 518, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
urllib2.HTTPError: HTTP Error 404: Not Found