Bgslibrary Cmake 因 pip 而失败

Bgslibrary Cmake failed with pip

本文关键字:失败 pip Cmake Bgslibrary      更新时间:2023-10-16

我想为我的项目安装 bgslibrary。 我还下载并提取了opencv,将变量放置在PATH(win10(中

但是当我运行时:pip install pybgs

我收到此错误:

Found package configuration file:
C:/Users/USER/Downloads/opencv/build/OpenCVConfig.cmake
but it set OpenCV_FOUND to FALSE so package "OpenCV" is considered to be
NOT FOUND.

我想在python中使用它,指南还说它正在工作。 https://github.com/andrewssobral/bgslibrary/wiki/Wrapper:-Python

问题解决了。

我使用了Cmake-GUI。

设置 opencv-build 位置。

我不得不使用 vs17-x64!!