有人可以帮我吗,我不知道该怎么解决
student@jethost:~$ pip install unroll
Collecting unroll
Using cached https://files.pythonhosted.org/packages/fe/3c/124bdf4276e582c8e4e23ce27c4462a259f6608df8e550d30f003f2b4189/unroll-0.1.0.tar.gz
Complete output from command python setup.py egg_info:
Downloading http://pypi.python.org/packages/source/d/distribute/distribute-0.6.14.tar.gz
Traceback (most recent call last):
File "/home/student/anaconda3/lib/python3.6/site-packages/ez_setup.py", line 143, in use_setuptools
raise ImportError
ImportError
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-install-8ryfpf0v/unroll/setup.py", line 2, in <module>
ez_setup.use_setuptools()
File "/home/student/anaconda3/lib/python3.6/site-packages/ez_setup.py", line 145, in use_setuptools
return _do_download(version, download_base, to_dir, download_delay)
File "/home/student/anaconda3/lib/python3.6/site-packages/ez_setup.py", line 124, in _do_download
to_dir, download_delay)
File "/home/student/anaconda3/lib/python3.6/site-packages/ez_setup.py", line 193, in download_setuptools
src = urlopen(url)
File "/home/student/anaconda3/lib/python3.6/urllib/request.py", line 223, in urlopen
return opener.open(url, data, timeout)
File "/home/student/anaconda3/lib/python3.6/urllib/request.py", line 532, in open
response = meth(req, response)
File "/home/student/anaconda3/lib/python3.6/urllib/request.py", line 642, in http_response
'http', request, response, code, msg, hdrs)
File "/home/student/anaconda3/lib/python3.6/urllib/request.py", line 570, in error
return self._call_chain(*args)
File "/home/student/anaconda3/lib/python3.6/urllib/request.py", line 504, in _call_chain
result = func(*args)
File "/home/student/anaconda3/lib/python3.6/urllib/request.py", line 650, in http_error_default
raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 403: SSL is required
----------------------------------------
/ tmp / pip-install-8ryfpf0v / unroll /
中的命令“ python setup.py egg_info”失败,错误代码为1答案 0 :(得分:0)
https://pypi.org/project/unroll/#history —上一次发布是在2014年。ez_setup.use_setuptools
也从多年前的setuptools
中被弃用了(很久以前我不记得是什么时候了)。 bug report于2017年开业-至今仍未收到作者的任何回复。该代码似乎太旧且被遗弃,并且我确信它不适用于Python 3。