【发布时间】:2018-11-27 07:20:10
【问题描述】:
这里的总nexwbie。
我没有成功尝试为 python 安装 cv2 模块,但它不起作用。我正在使用 Python 3.6(64 位)
我在 cmd 中输入了以下命令:
C:\Users\leahj>C:\Users\leahj\AppData\Local\Programs\Python\Python36\Scripts\pip3 install cv2
Collecting cv2
Could not find a version that satisfies the requirement cv2 (from versions: )
No matching distribution found for cv2
C:\Users\leahj>C:\Users\leahj\AppData\Local\Programs\Python\Python36\Scripts\pip3 install opencv
Collecting opencv
Could not find a version that satisfies the requirement opencv (from versions: )
No matching distribution found for opencv
C:\Users\leahj>C:\Users\leahj\AppData\Local\Programs\Python\Python36\Scripts\pip3 install opencv2
Collecting opencv2
Could not find a version that satisfies the requirement opencv2 (from versions: )
No matching distribution found for opencv2
我试图在这个网站上寻找答案,但找不到任何答案。我发现的最准确的东西是:https://breakthrough.github.io/Installing-OpenCV/ 但似乎我必须回到旧版本的 Python ?
【问题讨论】:
-
我在 macOS Catalina 上遇到了类似的问题:这就是我所做的 stackoverflow.com/a/61578366/11559619
标签: python opencv python-3.6 cv2