ERROR: Could not find a version that satisfies the requirement

报错提示:

ERROR: Could not find a version that satisfies the requirement numpy (from versions: none)
ERROR: No matching distribution found for numpy
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 is available: 23.0.1 -> 23.1.2
[notice] To update, run: python.exe -m pip install –upgrade pip

找不到满足要求的版本,找不到n匹配分发

尝试:

为了在pycharm里运行图像处理程序,直接点安装软件包有如上报错,在cmd中pip install却能正常找到软件包。想起自己用过Anaconda。是Anaconda的原因导致在pycharm中无法正常安装。

解决:

将python解释器从原来单独安装的python改到Anaconda里的python

 

文章出处登录后可见!

已经登录?立即刷新

共计人评分,平均

到目前为止还没有投票!成为第一位评论此文章。

(0)
xiaoxingxing的头像xiaoxingxing管理团队
上一篇 2023年8月8日
下一篇 2023年8月8日

相关推荐