文章目录
一、现象
平台:autodl
镜像:PyTorch 2.0.0 Python 3.8(ubuntu20.04) Cuda 11.8
GPU:RTX 4090(24GB) * 1
CPU:12 vCPU Intel® Xeon® Platinum 8352V CPU @ 2.10GHz
内存:90GB
安装numpy环境,发现执行下面的命令行都不行
python
# pip install numpy==1.9.0 -i https://pypi.tuna.tsinghua.edu.cn/simple/
# ! pip install numpy==1.9.0 -i http://pypi.douban.com/simple/
! pip install numpy==1.9.0 -i http://mirrors.aliyun.com/pypi/simple/
![](https://i-blog.csdnimg.cn/direct/b5c1c8a8fbf24456978c5469613c53bc.png)
二、解决方案
得执行以下这行命令才可以
python
conda install numpy
![](https://i-blog.csdnimg.cn/direct/c182b3e6d8314f73834cc836e3f0c87b.png)
![](https://i-blog.csdnimg.cn/direct/c3f9822f0c0846f58b974e73a1c6c64e.png)