linux安装opencv-python

开始安装时,直接 pip install opencv-python,超时,无法安装,指定镜像源后,安装OK
命令(这个是python3.8对应的版本):
pip install opencv-python==4.1.2.30 -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com

pip install opencv-python==4.1.2.30 -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com

你可能感兴趣的:(python,python,linux,opencv)