sudo apt-get update
sudo apt-get upgrade
解决更新时出现unable to locate package****
sudo apt-get install python-pip
su
do apt-get install gfortran
sudo apt-get install libopenblas-dev
sudo apt-get install liblapack-dev
sudo apt-get install libatlas-base-dev
sudo apt-get install python-dev
sudo apt-get install python-nose
sudo pip install numpy
扫描二维码关注公众号,回复:
1844572 查看本文章
![](/qrcode.jpg)
sudo pip install scipy
然后测试
python -c "import numpy;numpy.test()"
python -c "import scipy;scipy.test()"
报错
sudo pip install pytest
再测试
sudo pip install theano
测试
python -c "import theano;theano.test()"
安装scikit-learn(sklearn)
pip install -U scikit-learn