Solve the problem that cv2 cannot be installed

The problem that the cv2 installation package cannot be installed in the python file for face recognition

 It turns out that there is no cv2 module, and the result of using the pip installation command is as follows:

 Hereby, in this process, change the installation name: opencv-python, the installation is successful!

 Enter the installation command in the terminal:

pip install -i https://pypi.tuna.tsinghua.edu.cn/simple opencv-python
 

Guess you like

Origin blog.csdn.net/m0_69311549/article/details/130514807