解决方案:在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
相关推荐
Cloud_Shy6182 小时前
Python 数据分析基础入门:《Excel Python:飞速搞定数据分析与处理》学习笔记系列(附录 B 高级 VS Code 功能)
vscode·python·jupyter·数据分析·excel
Cloud_Shy61810 小时前
Python 数据分析基础入门:《Excel Python:飞速搞定数据分析与处理》学习笔记系列(第九章 Excel 自动化 上篇)
python·数据分析·excel·numpy·pandas
Cloud_Shy61810 小时前
Python 数据分析基础入门:《Excel Python:飞速搞定数据分析与处理》学习笔记系列(第八章 使用读写包操作 Excel 文件 下篇)
python·数据分析·excel·numpy·pandas
前端小超人rui11 小时前
Jupyter 介绍
ide·python·jupyter
积跬步,慕至千里12 小时前
解决 Conda 环境在 Jupyter Notebook 中不显示的问题(含重复 Kernel 排查)
windows·jupyter·conda
Cloud_Shy61813 小时前
Python 数据分析基础入门:《Excel Python:飞速搞定数据分析与处理》学习笔记系列(第九章 Excel 自动化 下篇)
python·数据分析·excel·numpy·pandas
石山代码1 天前
Python 数据分析三大库:NumPy + Pandas + Matplotlib
python·数据分析·numpy
く成哦2 天前
部署Apache Gravitino项目及使用教程
jupyter·docker-compose·apache·trino·playground·gravitino
小陈工2 天前
Python异步编程进阶:asyncio高级模式与性能调优
开发语言·前端·数据库·人工智能·python·flask·numpy