python 怎样使用pip安装scipy模块 python中如何安装SciPY模块

python3.4\u7248\u672c scipy\u5e93\u51fd\u6570\u600e\u4e48\u5b89\u88c5

\u81ea\u52a8\u5b89\u88c5
pip install scipy

\u624b\u5de5\u5b89\u88c5
1)\u8bbf\u95eehttp://www.lfd.uci.edu/~gohlke/pythonlibs/#scipy
\u6839\u636e\u81ea\u5df1\u7cfb\u7edf\u53caPython\u7248\u672c\u4e0b\u8f7d\u4e0d\u540c\u7684\u5305\uff0c\u5982python3.4\u7248\u672c\uff0cwindows 10 64\u4f4d\u7cfb\u7edf\u5219\u4e0b\u8f7d
scipy‑0.19.1‑cp34‑cp34m‑win_amd64.whl

2) \u5728\u5f00\u59cb\u83dc\u5355\u641c\u7d22cmd\u6253\u5f00 \u7ec8\u7aef

3) \u5728\u7ec8\u7aef\u8f93\u5165python -m pip install -U pip

4) \u627e\u5230\u4e0b\u8f7d\u7684 scipy‑0.19.1‑cp34‑cp34m‑win_amd64.whl\u6240\u5728\u7684\u6587\u4ef6\u5939

5) \u5728\u7ec8\u7aef\u6253\u5f00\u5230\u4e0a\u8ff0\u6587\u4ef6\u5939\u76ee\u5f55\uff0c\u8f93\u5165 pip install scipy‑0.19.1‑cp34‑cp34m‑win_amd64.whl


\u8fd9\u6837\u5c31\u5728win10 64\u4f4d\u7cfb\u7edf\u4e0a\u5b8c\u6210\u4e86python3.4\u7248\u672c\u7684scipy\u5e93\u5b89\u88c5\uff01

scipy\u5305\u5305\u542b\u6709C\u4ee3\u7801\uff0c\u5b89\u88c5\u65f6\u9700\u8981\u6839\u636e\u6240\u4f7f\u7528\u7684\u64cd\u4f5c\u7cfb\u7edf\u8fdb\u884c\u7f16\u8bd1\uff0c\u56e0\u6b64\u4e0d\u540c\u7684\u64cd\u4f5c\u7cfb\u7edf\u7684\u5b89\u88c5\u65b9\u5f0f\u662f\u4e0d\u540c\u7684\u3002\u4e0b\u9762\u5c06\u4ecb\u7ecd\u5728windows\u64cd\u4f5c\u7cfb\u7edf\u4e2d\uff0c\u5982\u4f55\u5b89\u88c5scipy\u5305\uff1a
\u5728\u7f51\u9875\u4e2d http://www.lfd.uci.edu/~gohlke/pythonlibs/#scipy \u4e0b\u8f7d\u5bf9\u5e94\u64cd\u4f5c\u7cfb\u7edf\u7684\u9884\u7f16\u8bd1\u5b89\u88c5\u5305\uff0c\u9700\u8981\u6839\u636epython\u7248\u672c\u662f2.x\u8fd8\u662f3.x\uff0c\u7cfb\u7edf\u662f32\u4f4d\u8fd8\u662f64\u4f4d\u8fdb\u884c\u9009\u62e9
\u4f7f\u7528pip\u5305\u7ba1\u7406\u5668\u8fdb\u884c\u5b89\u88c5\uff0c\u5728\u547d\u4ee4\u884c\u4e2d\u8f93\u5165
pip install \u4e0b\u8f7dscipy\u5b89\u88c5\u5305\u7684\u8def\u5f84

看你电脑里装了多少个python版本

1.如果只有一个版本的python,那么直接:pip install scipy

2.如果有多个版本:

1).python2用py -2 -m pip install scipy或者pip2 install scipy:


2).python3用py -3 -m  pip install scipy或者pip3 install scipy:



扩展阅读:python里面调用pip ... python自带的pip在哪里 ... python用命令安装pip ... python中的pip在哪里 ... 如何打开python中pip ... python怎么安装pip ... python怎么没有自带pip ... python使用pip安装numpy库 ... python中pip使用方法 ...

本站交流只代表网友个人观点,与本站立场无关
欢迎反馈与建议,请联系电邮
2024© 车视网