- Setting->project: Interpreter
通过+添加 - 光标落在该处代码,Alt+Enter,直接安装
cv2
pip3 install opencv-python -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com (后面这个我记住了)
备录 Successfully installed numpy-1.18.1 opencv-python-4.2.0.32
cv2
pip3 install opencv-python -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com (后面这个我记住了)
备录 Successfully installed numpy-1.18.1 opencv-python-4.2.0.32