pip ERROR cound not find a version that satisfies the requirement opencv-python

树莓派 pip 安装 opencv 出问题

pip3 install opencv-python
ERROR: Could not find a version that satisfies the requirement opencv-python (from versions: none)
ERROR: No matching distribution found for opencv-python

经过查阅也没有找到解决方案, 换源没有用. 没有尝试直接卸载python, 因为有很多库安装起来麻烦.

可以使用apt来安装

sudo apt install python-opencv 
sudo apt install python3-opencv

分别安装两个版本.

©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容