1、安装python3.7
具体的请参考博客
2、pip3换源
>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升级
sudo pip3 install --upgrade pip
另外:
pip3的安装、升级和卸载指令分别为:
sudo apt-get install python3-pip
sudo pip3 install --upgrade pip
sudo apt-get remove -purge python3-pip
4、face_recognition安装:
sudo pip3 install face_recognitioin
5、cv2模块安装
sudo pip3 install opencv-python
其他库安装:
sudo apt-get install libcblas-dev
sudo apt install libjasper1 libjasper-dev