在 Windows 上将 OpenCV-Python 降级到 4.5.4.60
我正在尝试将 OpenCV-Python 从版本 4.5.5 降级到 4.5.4.60。
我正在尝试运行此示例: https://github.com/faustomorales/keras-ocr。 我在运行此示例时发现 OpenCV 的更高版本存在问题,因此我尝试降级到推荐版本(4.5.4.60)。我尝试在 Jupyter Lab 终端中运行以下命令:
pip install "opencv-python==4.5.4.60" --force-reinstall --user
它表示它已成功安装,但是当我在 Jupyter Notebook 中检查我的版本时,我得到以下信息:
import cv2
print(cv2.__version__)
输出:4.5.5
我对 Windows 和 Python 相当陌生,所以任何意见将不胜感激。
谢谢!
I am trying to downgrade OpenCV-Python from version 4.5.5 to 4.5.4.60.
I am trying to run this example: https://github.com/faustomorales/keras-ocr.
I have seen there are issues with later versions of OpenCV when running this example, so I have tried to downgrade to the recommended version (4.5.4.60). I have tried running the following in a Jupyter Lab terminal:
pip install "opencv-python==4.5.4.60" --force-reinstall --user
It says that it successfully installs, but when I check my version in Jupyter Notebook, I get the following:
import cv2
print(cv2.__version__)
Output: 4.5.5
I am fairly new to Windows and Python, so any advice would be greatly appreciated.
Thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论