gpt4 book ai didi

python - 在 anaconda 创建的虚拟环境中安装包的问题

转载 作者:太空宇宙 更新时间:2023-11-04 12:16:42 29 4
gpt4 key购买 nike

我在工作中的沙箱上安装了 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 并将它们列入白名单?想知道是否有一种干净简单的方法来解决这个问题

有人遇到过这个问题吗?

最佳答案

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

关于python - 在 anaconda 创建的虚拟环境中安装包的问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/47229286/

29 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com