刚接触ubuntu,在执行【pip install atc_thrift atcd django-atc-api django-atc-demo-ui django-atc-profile-storage】后报错了。
报错信息如下:
Ignoring link https://pypi.python.org/packages/source/d/django-static-jquery/django-static-jquery-2.1.1.tar.gz#md5=9f9f45996202b040357291dc6f307071 (from https://pypi.python.org/simple/django-static-jquery/), version 2.1.1 doesn't match ==1.11.1
Ignoring link https://pypi.python.org/packages/source/d/django-static-jquery/django-static-jquery-2.1.3.tar.gz#md5=ac9fa45012671da19fef16843017937a (from https://pypi.python.org/simple/django-static-jquery/), version 2.1.3 doesn't match ==1.11.1
Downloading from URL https://pypi.python.org/packages/source/d/django-static-jquery/django-static-jquery-1.11.1.tar.gz#md5=bea7ab99f80534c5f011176f4b6ac842 (from https://pypi.python.org/simple/django-static-jquery/)
Cleaning up...
Removing temporary dir /tmp/pip_build_root...
Exception:
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/pip/basecommand.py", line 122, in main
status = self.run(options, args)
File "/usr/lib/python2.7/dist-packages/pip/commands/install.py", line 278, in run
requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundle=self.bundle)
File "/usr/lib/python2.7/dist-packages/pip/req.py", line 1197, in prepare_files
do_download,
File "/usr/lib/python2.7/dist-packages/pip/req.py", line 1375, in unpack_url
self.session,
File "/usr/lib/python2.7/dist-packages/pip/download.py", line 572, in unpack_http_url
download_hash = _download_url(resp, link, temp_location)
File "/usr/lib/python2.7/dist-packages/pip/download.py", line 433, in _download_url
for chunk in resp_read(4096):
File "/usr/lib/python2.7/dist-packages/pip/download.py", line 421, in resp_read
chunk_size, decode_content=False):
File "/usr/lib/python2.7/dist-packages/urllib3/response.py", line 242, in stream
data = self.read(amt=amt, decode_content=decode_content)
File "/usr/lib/python2.7/dist-packages/urllib3/response.py", line 185, in read
data = self._fp.read(amt)
File "/usr/lib/python2.7/httplib.py", line 573, in read
s = self.fp.read(amt)
File "/usr/lib/python2.7/socket.py", line 380, in read
data = self._sock.recv(left)
File "/usr/lib/python2.7/ssl.py", line 709, in recv
return self.read(buflen)
File "/usr/lib/python3.7/ssl.py", line 603, in read
v = self._sslobj.read(len or 1024)
SSLError: ('The read operation timed out',)
望各位大牛不吝赐教
度娘搜了下,发现这个人和我的报错是一模一样,但是也没找出解决方法。连接如下
http://www.douban.com/group/topic/70365646/#sep
多试两次,或者下载源码手动安装。版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。