开发者社区> 问答> 正文

ubuntu14.10 执行pip install atc_thrift atc?报错

刚接触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',)


不知道提问是否有错误,现在执行不下去了。本人想使用facebook 开源的ATC 在这步进行不下去了

望各位大牛不吝赐教

展开
收起
爱吃鱼的程序员 2020-06-14 16:58:16 643 0
1 条回答
写回答
取消 提交回答
  • https://developer.aliyun.com/profile/5yerqm5bn5yqg?spm=a2c6h.12873639.0.0.6eae304abcjaIB

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

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

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

    引用来自“朱李”的评论

    多试两次,或者下载源码手动安装。
    pypi在国内不是很稳定,你可以手动访问试试。这是错误是读取操作超时,可能是网络不稳定造成的。非常感谢!!!
    2020-06-14 16:58:31
    赞同 展开评论 打赏
问答排行榜
最热
最新

相关电子书

更多
EasyMapReduce: leverage Spark and Docker to scale scientific tools 立即下载
CentOS7 ...[it民工007].1499095288.pdf 立即下载
低代码开发师(初级)实战教程 立即下载