CentOS安装numpy,scipy

Posted 一枪尽骚丶魂

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了CentOS安装numpy,scipy相关的知识,希望对你有一定的参考价值。

安装numpy

# pip install numpy
[root@Dragonwake ~]# pip install numpy
You are using pip version 7.1.0, however version 19.0.3 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
Collecting numpy
  Using cached https://files.pythonhosted.org/packages/cf/8d/6345b4f32b37945fedc1e027e83970005fc9c699068d2f566b82826515f2/numpy-1.16.2.zip
Building wheels for collected packages: numpy
  Running setup.py bdist_wheel for numpy
  Stored in directory: /root/.cache/pip/wheels/8c/a8/49/e458f0fdbc4fe3759be6b9371e172b3f0e82c09f5a750e977e
Successfully built numpy
Installing collected packages: numpy
Successfully installed numpy-1.16.2

安装scipy

# pip install scipy
[root@Dragonwake ~]# pip install scipy
You are using pip version 7.1.0, however version 19.0.3 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
Collecting scipy
  Using cached https://files.pythonhosted.org/packages/a9/b4/5598a706697d1e2929eaf7fe68898ef4bea76e4950b9efbe1ef396b8813a/scipy-1.2.1.tar.gz
Building wheels for collected packages: scipy
  Running setup.py bdist_wheel for scipy
  Stored in directory: /root/.cache/pip/wheels/b7/5c/d5/27e75bb322cbb28834a7bb61de59fce7ed5b83383be05bb8a5
Successfully built scipy
Installing collected packages: scipy
Successfully installed scipy-1.2.1

 

以上是关于CentOS安装numpy,scipy的主要内容,如果未能解决你的问题,请参考以下文章

Centos6.5安装 scipy sciki-learn 一堆报错

Linux 下安装 numpy 和 scipy

使用 pip 安装 SciPy 和 NumPy

NumPy,SciPy安装

安装Scipy库

安装numpy,scipy,gensim,jieba