微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

无法安装 opencv-contrib-python 弃用 Python 3.5

如何解决无法安装 opencv-contrib-python 弃用 Python 3.5

我在虚拟环境中运行 Python,我在其中运行:

python -V

哪个返回:

Python 3.9.5

然后我运行:

pip install opencv-contrib-python

并得到:

DEPRECATION: Python 3.5 reached the end of its life on September 13th,2020. Please upgrade your Python as Python 3.5 is no longer maintained. pip 21.0 will drop support for Python 3.5 in January 2021. pip 21.0 will remove support for this functionality.
ERROR: Could not find a version that satisfies the requirement opencv-contrib-python
ERROR: No matching distribution found for opencv-contrib-python

如果我已经使用最新的 Python,我需要运行哪些命令才能安装 opencv?

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。