解决方案:在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
相关推荐
QMY52052010 小时前
TikTok 独立 IP 解决方案:独享静态住宅 IP + 环境隔离 + 粘性会话
大数据·jupyter·数据挖掘·数据分析·postman·1024程序员节
Cosmoshhhyyy2 天前
Jupyter Notebook运行Milvus Lite
ide·jupyter·milvus
Cosmoshhhyyy2 天前
macOS环境安装jupyter notebook(极简版)
ide·macos·jupyter
QMY5205204 天前
深度优先遍历策略
macos·jupyter·postman
Kratzdisteln4 天前
【Python】绘制椭圆眼睛跟随鼠标交互算法配图详解
python·数学·numpy·pillow·matplotlib·仿射变换
MoRanzhi12035 天前
Pillow 基础图像操作与数据预处理
图像处理·python·深度学习·机器学习·numpy·pillow·数据预处理
woshihonghonga5 天前
PyTorch矩阵乘法函数区别解析与矩阵高级索引说明——《动手学深度学习》3.6.3、3.6.4和3.6.5 (P79)
人工智能·pytorch·python·深度学习·jupyter·矩阵
Geoking.6 天前
NumPy zeros() 函数详解
python·numpy
JJJJ_iii7 天前
【机器学习01】监督学习、无监督学习、线性回归、代价函数
人工智能·笔记·python·学习·机器学习·jupyter·线性回归
人工干智能8 天前
Python 开发中:`.ipynb`(Jupyter Notebook 文件)和 `.py`(Python 脚本文件)
开发语言·python·jupyter