ubuntu14.10 执行pip install atc_thrift atcd django-atc-ap……报错
刚接触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',)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(5)
非常感谢!!!
pypi在国内不是很稳定,你可以手动访问试试。这是错误是读取操作超时,可能是网络不稳定造成的。
引用来自“朱李”的评论
多试两次,或者下载源码手动安装。
多试两次,或者下载源码手动安装。
度娘搜了下,发现这个人和我的报错是一模一样,但是也没找出解决方法。连接如下
http://www.douban.com/group/topic/70365646/#sep