Disclaimer: This article is a blogger original article, follow the CC 4.0 BY-SA copyright agreement, reproduced, please attach the original source link and this statement.
1, the installation python3.7
specifically refer to the blog
2, pip3 source exchange
>su -
>输入你的root密码
>mkdir ~/.pip
>cd ~/.pip
>vim pip.conf
[global]
index-url = https://pypi.tuna.tsinghua.edu.cn/simple
[install]
trusted-host=pypi.tuna.tsinghua.edu.cn
3, pip3 upgrade
sudo pip3 install --upgrade pip
In addition:
pip3 installation, upgrade, and uninstall instructions are:
sudo apt-get install python3-pip
sudo pip3 install --upgrade pip
sudo apt-get remove -purge python3-pip
4, face_recognition installation:
the sudo PIP3 the install face_recognitioin
. 5, the installation module CV2
sudo pip3 install opencv-python
Other libraries are installed:
sudo apt-get install libcblas-dev
sudo apt install libjasper1 libjasper-dev