为什么 nvidia 又开始作恶了?

之前 tensorRT 无法从 pypi 下载安装

现在 pytorch 依赖的 nvidia-cublas-cu11 也变成这样了(https://pypi.org/project/nvidia-cublas-cu11/0.0.1/#history)

nvidia 把 nvidia-cublas-cu11 从 pypi 下架了

为什么 nvidia 又开始作恶了?

导致下载安装 pytorch 都不行了

pip install torch 会一起安装 nvidia-cublas-cu11

但是会报错

Collecting nvidia-cublas-cu11

Using cached https://mirror.baidu.com/pypi/packages/d5/d0/a4693c37259cb2f35796bb04326c25972125713908989b3f3dc2c723d1f4/nvidia-cublas-cu11-0.0.1.tar.gz (6.5 kB)

Preparing metadata (setup.py) ... error

error: subprocess-exited-with-error

× python setup.py egg_info did not run successfully.

│ exit code: 1

╰─> [6 lines of output]

Traceback (most recent call last):

File "<string>", line 36, in <module>

File "<pip-setuptools-caller>", line 34, in <module>

File "/tmp/pip-install-mm4r70pt/nvidia-cublas-cu11_fb37ab2f5f3c422e865f00c267648c87/setup.py", line 137, in <module>

raise RuntimeError(open("ERROR.txt", "r").read())

FileNotFoundError: [Errno 2] No such file or directory: 'ERROR.txt'

[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.

error: metadata-generation-failed

× Encountered error while generating package metadata.

╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.

hint: See above for details.

按照 nv 的意思,要我们从 nv 自己的 pypi 下载

为什么 nvidia 又开始作恶了?

但是,因为我是中国人,我会配置大陆 pypi 镜像, 比如 pip config set global.index-url https://mirror.baidu.com/pypi/simple

导致当我输入 pip install --extra-index-url https://pypi.nvidia.com nvidia-cublas-cu11 的时候,pip 会先去 baidu 的 pypi 镜像寻找 nvidia-cublas-cu11,然后找到了 0.0.1 版本

然后就报上面的错误了!

怎么办?怎么让 pip 先去 https://pypi.nvidia.com 寻找 nvidia-cublas-cu11?


想从其他 pypi 镜像源指定版本安装都不行

(image2vector) [root@beijing-1 image2vector]# pip install nvidia-cublas-cu11==11.11.3.6

Looking in indexes: https://mirror.baidu.com/pypi/simple

ERROR: Could not find a version that satisfies the requirement nvidia-cublas-cu11==11.11.3.6 (from versions: 0.0.1.dev5, 0.0.1)

ERROR: No matching distribution found for nvidia-cublas-cu11==11.11.3.6


这个问题好像在不同机器上不一样

出问题的是 arm 机器,我在鲲鹏 920 +麒麟 linux 上安装就安装不上

可恶!是我错怪 nvidia 了

不过 nvidia 的东西,都是不提供 arm 版本的吗?

以上是 为什么 nvidia 又开始作恶了? 的全部内容, 来源链接: utcz.com/p/938979.html

回到顶部