我爱编程

[mac]如何安装numpy, scipy, matplotli

2017-05-23  本文已影响0人  涂大宝

1. install numpy

found a problem: RuntimeError: Running cythonize failed!

solution: 

$pip install Cython 

$sudo python setup.py install

if you have installed numpy, you can also use that

$ pip install --upgrade --ignore-installed --install-option '--install-data=/usr/local' numpy

2.install scipy

$pip install scipy 

3.install matplotlib

$pip install matplotlib

上一篇下一篇

猜你喜欢

热点阅读