通过PIP在opencv-python中没有最新的(4.3.0.)openCV库 [英] No latest (4.3.0.) openCV library in opencv-python via PIP

查看:197
本文介绍了通过PIP在opencv-python中没有最新的(4.3.0.)openCV库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用PyCharm连接库,但假设与使用pip install opencv-python类似 Pycharm在实际为4.3.0时显示opencv-python库的4.2.0.34版本

Im using PyCharm to connect libraries but suppose is similar to using pip install opencv-python Pycharm shows version 4.2.0.34 for opencv-python library when actual is 4.3.0

转到 https://pypi.org/project/opencv-python/我只看到我只看到4.2.0版本.

going to https://pypi.org/project/opencv-python/ i see only i see 4.2.0 version only.

转到 https://github.com/skvark/opencv-python 看到它是在两个月前4.3版本更新时更新的,甚至我也可以看到4.3版本的注释. 但是Python显示版本4.2.0.34和版本4.3.0的功能不起作用.

Going to https://github.com/skvark/opencv-python I can see it was updated two month ago when 4.3 is out and even I can see some note of 4.3. But Python shows version 4.2.0.34 and features of version 4.3.0 are not working.

我是在做错什么,还是从源代码构建4.3的唯一方法?

Am I doing something wrong or is the only way to have 4.3 build it from source?

推荐答案

更新:截至2020年7月6日,PyPI上提供了适用于4.3.0的opencv-python滚轮.您可以在下面的发行版链接中看到该链接,并且下面链接到的问题现已关闭.您应该可以通过pip以常规方式安装它.

Update: As of 6th July 2020, opencv-python wheels for 4.3.0 are available on PyPI. You can see that in the releases link below, and the issue linked to below is now closed. You should be able to install it via pip in the normal way.

原始: 根据opencv-python发布页面,最新构建的版本是4.2.0.34 .还有一个 4.3版的公开问题不可用,其中是构建维护者解释说,最新版本的OpenCV不能使用与以前版本相同的自动系统来构建(不能使用manylinux1来构建),因此,这不仅仅是触发新构建的问题.换句话说,如果要在计算机上使用适用于Python的OpenCV 4.3,可以,您需要自己构建它.

Original: According to the releases page for opencv-python, the latest built version is 4.2.0.34. There is also an open issue for 4.3 not being available, where the build maintainer explained that the newest version of OpenCV can't be built with the same automatic system as the previous versions (it can't be built with manylinux1), so it's not just a matter of triggering a new build. In other words, if you want OpenCV 4.3 for Python on your computer, yes, you will need to build it yourself.

这篇关于通过PIP在opencv-python中没有最新的(4.3.0.)openCV库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆