赞
踩
已经安装了opencv,但还是报错
ERROR: Could not find a version that satisfies the requirement cv2 (from versions: none) ERROR: No matching distribution found for cv2
[notice] A new release of pip available: 22.3.1 -> 23.2.1
[notice] To update, run: python.exe -m pip install --upgrade pip
下载opencv后,根据路径找到cv2文件夹。这里可能会出现找不到AppData的情况,可以看另一篇博客Appdata文件夹找不到
将cv2文件夹复制到pycharm的工具包文件夹下,参考我的目录C:\Users\YangTeng\PycharmProjects\pythonProject\venv\Lib\site-packages
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。