【Python】安装numpy库

建议安装wheel文件:
下载地址:https://www.lfd.uci.edu/~gohlke/pythonlibs/#numpy
根据你的python版本和你电脑的bit数来选择wheel文件。

为了能够安装wheel文件,你需要首先安装wheel这个包。
进到cmd里面输入:

pip install wheel

安装成功以后下载相应的numpy的wheel文件,在cmd里面通过easy_install或pip install安装。
安装numpy+mkl的好处是会减少你安装scipy的阻力,安装scipy一直就不是一件惬意的事情。

参考:
https://www.zhihu.com/question/29521273

同样的,找到对应的wheel文件可成功安装pandas库。

猜你喜欢

转载自blog.csdn.net/weixin_39723165/article/details/80721642