【问题标题】:ERROR: No matching distribution found for opencv-contrib-python-nonfree错误:没有为 opencv-contrib-python-nonfree 找到匹配的分布
【发布时间】:2020-09-16 04:16:37
【问题描述】:

我正在尝试在 windows 版本上安装 opencv nonfree 来运行 sift。

PS F:\DKE\CV\cvfinal> pip install opencv-contrib-python-nonfree
> ERROR: Could not find a version that satisfies the requirement opencv-contrib-python-nonfree (from versions: none)
> ERROR: No matching distribution found for opencv-contrib-python-nonfree`

有人可以帮我安装这个吗。我不想使用 cmake 创建包,因为它给了我一些其他错误。我正在使用 python 3.8.2 64 位版本 ith pip

pip 20.0.2 from C:\Users\DELL\Anaconda3\lib\site-packages\pip (python 3.6)

可以帮帮我吗

【问题讨论】:

    标签: python opencv sift opencv-contrib


    【解决方案1】:

    我无法在我的计算机上使用 PYTHON,但你可以看到视频。

    C++:我通过安装 Cmake 解决了这个问题,后来又使用了 opencv_master 和 opencv_contrib_master。您必须安装 Cmake 并将其添加到 Windows 上的 Path 目录中。稍后您必须将 opencv_master 添加到 Cmake 并对其进行配置,检查是否匹配错误,稍后您必须将 opencv_contrib_master/include 添加到 EXTRA_MODULES,您必须选择 NONFREE 和 WORLD 选项,配置和生成。这是最重要的,你可以使用下一个视频。它对我有用,只要记住使用上面的说明即可。

    https://www.youtube.com/watch?v=_fqpYLM6SCw&t=312s

    【讨论】:

    • 但我不想使用 cmake,因为我还有其他错误。有没有其他安装方式?
    • 我尝试从 CMD 安装 contrib 库,但没有成功。是的,它已经安装了,但是当我尝试使用 SIFT 和 SURF 时,编译器告诉我它没有实现。
    猜你喜欢
    • 2020-09-12
    • 1970-01-01
    • 2020-12-15
    • 2021-11-18
    • 2017-05-05
    • 2020-12-09
    • 2021-03-12
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多