安装pip, pip是一个给python用的挺不错的安装工具。sudo apt-get install python-pip
查看所装软件 pip list 列出pip安装的所有东西
安装sklearn pip install -U scikit-learn
若出现错误OSError: [Errno 13] 权限不够: '/usr/local/lib/python2.7/dist-packages/scikit_learn-0.18.1.dist-info'
则 运行代码sudopip install -U scikit-learn
安装画图依赖包matplotlibsudo apt-get install python-matplotlib
安装tensorflow sudo pip install --upgrade https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.8.0-cp27-none-linux_x86_64.whl
安装pypy sudo add-apt-repository ppa:pypy/ppa
sudo apt-get update
sudo apt-get install pypy pypy-dev
安装opencv-python sudo apt-get install python-opencv