1. Mirror source problem
- Add a new mirror in /etc/apt/sources.list source generally choose Tsinghua source to find tutorials Qinghua source of online time, attention is Ubuntu or raspbian of .
二、sudo apt-get install python-xxx
- Download Python module-related instructions need to add python-
such as:
Install the pandas module
under linux: sudo apt-get install python-pandas
Install the numpy module
under linux: sudo apt-get install python-numpy
Install matplotlib
under linux: sudo apt-get install python3-matplotlib
Three, pip is not installed
Install pip enter the following command
sudo apt-get install python-pip
After installation, just install the python module directly with pip install as in windows, without apt-get install.
For example:
pip install imutils