我有python 2.7,当我尝试安装opencv时出现错误
pip install opencv-python
Looking in indexes: http://pypi.dd.dynamore/simple, https://pypi.python.org/simple/
Collecting 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
我有最新的pip版本(19.2.3)。我也安装了这个
sudo apt-get install python-opencv
最佳答案
尝试安装此库以学习ML时遇到相同的问题。经过一些在线研究后,我将其指向documentation,我相信此错误是由python2和此模块之间的兼容性问题引起的。
尝试使用python3,然后使用pip3 install opencv-python
重新安装此软件包
希望这可以帮助!