ubuntu14.10 执行pip install atc_thrift atcd django-atc-ap……报错

发布于 2021-11-27 18:34:13 字数 2857 浏览 817 评论 5

刚接触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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(5

噩梦成真你也成魔 2021-11-29 10:09:12

非常感谢!!!

坚持沉默 2021-11-29 07:09:05

pypi在国内不是很稳定,你可以手动访问试试。这是错误是读取操作超时,可能是网络不稳定造成的。

夜司空 2021-11-29 03:11:07

引用来自“朱李”的评论

多试两次,或者下载源码手动安装。

离去的眼神 2021-11-29 01:49:04

多试两次,或者下载源码手动安装。

筱果果 2021-11-28 05:24:53

度娘搜了下,发现这个人和我的报错是一模一样,但是也没找出解决方法。连接如下

http://www.douban.com/group/topic/70365646/#sep

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文