当前位置:网站首页>numpy 下载安装
numpy 下载安装
2022-07-06 13:11:00 【胡刚2016】
在安装 numpy 之前,必须要先安装 python,而且 numpy 与 python 的版本是对应的。
1. 下载和安装 python 3.10
如果你的电脑已经安装了python3.4以后的版本,那么就可以使用 pip 工具
记得选中 Add To PATH
验证安装成功
2. 更新 pip
(没有更新 pip 到最新版,很可能会导致下载安装 numpy 后,import 报错找不到 numpy)
python -m pip install --upgrade pip
3. 使用 pip3 下载安装 numpy
pip3 install numpy==1.22.4 scipy matplotlib -i https://pypi.tuna.tsinghua.edu.cn/simple
注意:这里我们要指定下载 我们的python 版本对应版本的 numpy,这里我们下载的版本是 1.22.4
注意:如果下载的时候卡住了,记得敲回车键,这样下载速度就会立马恢复。
4. 验证 numpy 安装成功
重新打开终端
输入
python
import numpy
只要输入 import numpy 不报找不到 modul numpy 的错误,就说明安装好了
边栏推荐
猜你喜欢
PHP saves session data to MySQL database
Introduction to the use of SAP Fiori application index tool and SAP Fiori tools
Absolute primes (C language)
中国白酒的5场大战
Internet News: Geely officially acquired Meizu; Intensive insulin purchase was fully implemented in 31 provinces
Common English vocabulary that every programmer must master (recommended Collection)
每个程序员必须掌握的常用英语词汇(建议收藏)
数据湖(八):Iceberg数据存储格式
Reference frame generation based on deep learning
【mysql】游标的基本使用
随机推荐
麦趣尔砸了小众奶招牌
启动嵌入式间:资源有限的系统启动
3D人脸重建:从基础知识到识别/重建方法!
Divide candy
JS学习笔记-OO创建怀疑的对象
FZU 1686 龙之谜 重复覆盖
通过数字电视通过宽带网络取代互联网电视机顶盒应用
袁小林:安全不只是标准,更是沃尔沃不变的信仰和追求
966 minimum path sum
Word bag model and TF-IDF
Replace Internet TV set-top box application through digital TV and broadband network
Why does MySQL index fail? When do I use indexes?
HMS core machine learning service creates a new "sound" state of simultaneous interpreting translation, and AI makes international exchanges smoother
MySQL - 事务(Transaction)详解
R3live notes: image processing section
OneNote 深度评测:使用资源、插件、模版
【力扣刷题】一维动态规划记录(53零钱兑换、300最长递增子序列、53最大子数组和)
In JS, string and array are converted to each other (I) -- the method of converting string into array
Internet News: Geely officially acquired Meizu; Intensive insulin purchase was fully implemented in 31 provinces
The use method of string is startwith () - start with XX, endswith () - end with XX, trim () - delete spaces at both ends