人工智能 | 计算机视觉 | 深度学习

0%

Ubuntu-安装-Python包

Ubuntu下安装Python包可以使用两种方法,一种是用apt-get,另一种是使用pip

apt-get安装示例

1
2
3
4
5
6
7
8
9
10
sudo apt-get install python-numpy
sudo apt-get install python-matplotlib
sudo apt-get install python-scipy
sudo apt-get install python-sklearn
sudo apt-get install python-setuptools
sudo apt-get install python-pip
sudo apt-get install python-jinja2
sudo apt-get install python-PIL
sudo aptp-get install python-dev
sudo apt-get install ipython

pip安装示例

1
2
sudo pip install nolearn​
sudo pip install Theano