python2.7.5安装ez_setup.py出问题
G:\programm\python2
2018/01/23 20:19
python2.7.5安装ez_setup.py出问题
G:\programm\python2.7.5>python ez_setup.py
Downloading http://pypi.python.org/packages/source/d/distribute/distribute-0.6.1
4.tar.gz
Traceback (most recent call last):
File "ez_setup.py", line 485, in
main(sys.argv[1:])
File "ez_setup.py", line 480, in main
tarball = download_setuptools()
File "ez_setup.py", line 193, in download_setuptools
src = urlopen(url)
File "G:\programm\python2.7.5\lib\urllib2.py", line 127, in urlopen
return _opener.open(url, data, timeout)
File "G:\programm\python2.7.5\lib\urllib2.py", line 410, in open
response = meth(req, response)
File "G:\programm\python2.7.5\lib\urllib2.py", line 523, in http_response
'http', request, response, code, msg, hdrs)
File "G:\programm\python2.7.5\lib\urllib2.py", line 448, in error
return self._call_chain(*args)
File "G:\programm\python2.7.5\lib\urllib2.py", line 382, in _call_chain
result = func(*args)
File "G:\programm\python2.7.5\lib\urllib2.py", line 531, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
urllib2.HTTPError: HTTP Error 403: SSL is required
G:\programm\python2.7.5>python ez_setup.py
Downloading http://pypi.python.org/packages/source/d/distribute/distribute-0.6.1
4.tar.gz
Traceback (most recent call last):
File "ez_setup.py", line 485, in
main(sys.argv[1:])
File "ez_setup.py", line 480, in main
tarball = download_setuptools()
File "ez_setup.py", line 193, in download_setuptools
src = urlopen(url)
File "G:\programm\python2.7.5\lib\urllib2.py", line 127, in urlopen
return _opener.open(url, data, timeout)
File "G:\programm\python2.7.5\lib\urllib2.py", line 410, in open
response = meth(req, response)
File "G:\programm\python2.7.5\lib\urllib2.py", line 523, in http_response
'http', request, response, code, msg, hdrs)
File "G:\programm\python2.7.5\lib\urllib2.py", line 448, in error
return self._call_chain(*args)
File "G:\programm\python2.7.5\lib\urllib2.py", line 382, in _call_chain
result = func(*args)
File "G:\programm\python2.7.5\lib\urllib2.py", line 531, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
urllib2.HTTPError: HTTP Error 403: SSL is required