Jan*_*neh 4 python opencv python-3.6 cv2
总nexwbie在这里。
我尝试为python 安装cv2模块失败,但无法正常工作。我正在使用Python 3.6(64bits)
我在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
Run Code Online (Sandbox Code Playgroud)
我试图在此网站上寻找答案,但找不到任何答案。我发现的最准确的东西是:https : //breakthrough.github.io/Installing-OpenCV/,但是看来我必须回到旧版本的Python吗?
它适用于 python 3.5
对于python 3.6,用于 OpenCV 的 conda install opencv 和 conda install -c conda-forge opencv 方法继续用于视频/图像读取和显示。
使用下面的 pip install 代替:
python -m pip install opencv-python
参考:https : //www.scivision.co/install-opencv-python-windows/
| 归档时间: |
|
| 查看次数: |
13780 次 |
| 最近记录: |