【问题标题】:Issue with installing packages on virtual environment created by anaconda在 anaconda 创建的虚拟环境中安装软件包的问题
【发布时间】:2018-04-24 01:36:06
【问题描述】:

我在工作中在沙箱上安装了 anaconda,并尝试安装 tensorflow。我运行了下面的命令并遇到了问题。

(venv) [root@box4 venv]# pip install --ignore-installed --upgrade https://storage.googleapis.com/tensorflow/linux/gpu/tensorflow_gpu-1.4.0-cp36-cp36m-linux_x86_64.whl
Collecting tensorflow-gpu==1.4.0 from https://storage.googleapis.com/tensorflow/linux/gpu/tensorflow_gpu-1.4.0-cp36-cp36m-linux_x86_64.whl
Retrying (Retry(total=4, connect=None, read=None, redirect=None)) after connection broken by 'NewConnectionError('<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7f6304ba9e80>: Failed to establish a new connection: [Errno 101] Network is unreachable',)': /tensorflow/linux/gpu/tensorflow_gpu-1.4.0-cp36-cp36m-linux_x86_64.whl 
Retrying (Retry(total=3, connect=None, read=None, redirect=None)) after connection broken by 'NewConnectionError('<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7f6304ba9f28>: Failed to establish a new connection: [Errno 101] Network is unreachable',)': /tensorflow/linux/gpu/tensorflow_gpu-1.4.0-cp36-cp36m-linux_x86_64.whl
Retrying (Retry(total=2, connect=None, read=None, redirect=None)) after connection broken by 'NewConnectionError('<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7f6304b5c048>: Failed to establish a new connection: [Errno 101] Network is unreachable',)': /tensorflow/linux/gpu/tensorflow_gpu-1.4.0-cp36-cp36m-linux_x86_64.whl
^COperation cancelled by user

我尝试了下面的命令来检查那个盒子上是否有可用的互联网

(venv) [root@gmc4bayer venv]# ping storage.googleapis.com
PING storage.l.googleusercontent.com (172.217.12.48) 56(84) bytes of data.
^C
--- storage.l.googleusercontent.com ping statistics ---
19 packets transmitted, 0 received, 100% packet loss, time 17999ms

我正在尝试查找目标 IP 和所需的任何端口,以便我可以要求我的网络管理员将其列入白名单。我可能需要安装很多其他软件包。我是否还必须为所有这些网站找到 IP 并将它们列入白名单?想知道是否有一个干净简单的方法来解决这个问题

有人遇到过这个问题吗?

【问题讨论】:

标签: python linux networking pip anaconda


【解决方案1】:

我推荐你使用 Anaconda Navigator 来安装包。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2023-03-26
    • 2019-01-20
    • 1970-01-01
    • 2018-11-17
    • 1970-01-01
    • 2013-05-19
    • 2022-10-13
    • 2020-02-27
    相关资源
    最近更新 更多