网站制作学习网Python→正文:ERROR: Could not find a version that satisfies the requirement cv2 (fr
字体:

ERROR: Could not find a version that satisfies the requirement cv2 (fr

Python 2022/11/23 17:05:29  点击:不统计

http://%77%77%77%2E%66%6F%72%61%73%70%2E%63%6E
 安装 cv2 提示找不到
pip install cv2
ERROR: Could not find a version that satisfies the requirement cv2 (from versions: none)

ERROR: No matching distribution found for cv2


ERROR: XMLRPC request failed [code: -32500]
RuntimeError: PyPI no longer supports 'pip search' (or XML-RPC search). Please use https://pypi.org/search (via a browser) instead. See https://warehouse.pypa.io/api-reference/xml-rpc.html#deprecated-methods for more information.

解决方案:
1. 首先升级一下pip
pip install --upgrade pip

2. 通过 pip install opencv-python  来替换cv2 安装
 


网站制作学习网Foasp.cn

·上一篇:python except OSError, e: >>    ·下一篇:python (Caused by ProxyError(‘Cannot connect to proxy.’, FileNotFoundE >>
推荐文章
最新文章