解决方案:在jupyter notebook环境下安装不了numpy

文章目录


一、现象

平台: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/

二、解决方案

得执行以下这行命令才可以

python 复制代码
conda install numpy
相关推荐
汤姆小白9 小时前
08-应用部署
人工智能·python·机器学习·numpy·transformer
汤姆小白2 天前
02-Tokenizer原理与实现
人工智能·python·机器学习·numpy
汤姆小白2 天前
01-环境搭建与项目导览
人工智能·python·机器学习·numpy
CS创新实验室3 天前
NumPy数组的C风格和Fortran风格
c语言·开发语言·numpy
梅雅达编程笔记3 天前
零基础学 Python 第7章 | 字典 dict:键值对存储
开发语言·python·beautifulsoup·numpy·pandas
月疯10 天前
np.where()[0]的用法
开发语言·python·numpy
你想知道什么?11 天前
NumPy常用函数
numpy
yang_coder11 天前
juypter notebook启动ssl报错的处理记录
python·jupyter
风流 少年11 天前
数据分析:numpy
数据挖掘·数据分析·numpy
fai厅的秃头姐!12 天前
数据分析-Numpy
数据挖掘·数据分析·numpy