当前位置:网站首页>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 的错误,就说明安装好了
边栏推荐
- 2022 fields Award Announced! The first Korean Xu Long'er was on the list, and four post-80s women won the prize. Ukrainian female mathematicians became the only two women to win the prize in history
- FZU 1686 龙之谜 重复覆盖
- Absolute primes (C language)
- Why does MySQL index fail? When do I use indexes?
- Is this the feeling of being spoiled by bytes?
- ROS error: could not find a package configuration file provided by "move_base“
- 【深度学习】PyTorch 1.12发布,正式支持苹果M1芯片GPU加速,修复众多Bug
- In JS, string and array are converted to each other (I) -- the method of converting string into array
- Web开发小妙招:巧用ThreadLocal规避层层传值
- 038. (2.7) less anxiety
猜你喜欢

互联网快讯:吉利正式收购魅族;胰岛素集采在31省全面落地

Is this the feeling of being spoiled by bytes?

Data Lake (VIII): Iceberg data storage format

2017 8th Blue Bridge Cup group a provincial tournament

【力扣刷题】32. 最长有效括号

爱可可AI前沿推介(7.6)

对话阿里巴巴副总裁贾扬清:追求大模型,并不是一件坏事

袁小林:安全不只是标准,更是沃尔沃不变的信仰和追求

监控界的最强王者,没有之一!
![[Li Kou brushing questions] one dimensional dynamic planning record (53 change exchanges, 300 longest increasing subsequence, 53 largest subarray and)](/img/1c/973f824f061d470a4079487d75f0d0.png)
[Li Kou brushing questions] one dimensional dynamic planning record (53 change exchanges, 300 longest increasing subsequence, 53 largest subarray and)
随机推荐
Binary tree node at the longest distance
快过年了,心也懒了
对话阿里巴巴副总裁贾扬清:追求大模型,并不是一件坏事
[Li Kou brushing questions] one dimensional dynamic planning record (53 change exchanges, 300 longest increasing subsequence, 53 largest subarray and)
What's the best way to get TFS to output each project to its own directory?
Why does MySQL index fail? When do I use indexes?
Sdl2 source analysis 7: performance (sdl_renderpresent())
2022菲尔兹奖揭晓!首位韩裔许埈珥上榜,四位80后得奖,乌克兰女数学家成史上唯二获奖女性
string的底层实现
Z function (extended KMP)
R3live notes: image processing section
每个程序员必须掌握的常用英语词汇(建议收藏)
968 edit distance
Divide candy
技术分享 | 抓包分析 TCP 协议
KDD 2022 | 通过知识增强的提示学习实现统一的对话式推荐
Nodejs教程之让我们用 typescript 创建你的第一个 expressjs 应用程序
It's not my boast. You haven't used this fairy idea plug-in!
Web开发小妙招:巧用ThreadLocal规避层层传值
Chris LATTNER, the father of llvm: why should we rebuild AI infrastructure software