-
-
Notifications
You must be signed in to change notification settings - Fork 743
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
i cant install by pip install #184
Comments
我也遇到过,刚刚解决,方案: 2.在系统环境中,新增一个环境变量:OpenCV_DIR,地址为opencv的lib (如,我的是:C:\opencv\build\x64\vc15\lib) 3.我是在windows下安装的,这个时候输入“pip install pybgs” 还会有个“-j8”的错误,解决方法: |
thank you |
wqc007你好,谢谢你的帮助,按照你提供的步骤做了,但是后面还是报错。 CMake Error at modules/pybind11/tools/FindPythonLibsNew.cmake:127 (message): Python config failure: Python is 64-bit, chosen compiler is 32-bit Call Stack (most recent call first): modules/pybind11/tools/pybind11Tools.cmake:16 (find_package) modules/pybind11/CMakeLists.txt:33 (include)` 删除setup.py文件中第169行的”-j8“项后,这个问题也没有解决,请问你遇到过这个问题吗?请教下您如何解决? |
您好,我也有这种错误,但是您的方案我试过了,还是有错。python 3.6 ,opencv3.4.2,请问您是否知道还有什么原因会导致此结果? |
@momo-github-1984 |
您好,感谢您的热心帮助!实际上我在不添加BGS_PYTHON_SUPPORT=ON 这个参数的时候,是可以像您这样编译的,但是加上去就不行。我想在python中实现编译,但是失败了!
…------------------ 原始邮件 ------------------
发件人: "andrewssobral/bgslibrary" <[email protected]>;
发送时间: 2021年1月26日(星期二) 下午3:08
收件人: "andrewssobral/bgslibrary"<[email protected]>;
抄送: "一打冷光"<[email protected]>;"Mention"<[email protected]>;
主题: Re: [andrewssobral/bgslibrary] i cant install by pip install (#184)
@momo-github-1984
你好,我的问题解决了,不晓得您是不是类似的问题。我pip不成功,就自己下载的源码,并下载CMake,自己编译,在cmakelists.txt的本级目录新建文件夹build,之后在build文件夹中打开cmd,输入cmake -D OpenCV_DIR=%OpenCV_DIR% -D BGS_PYTHON_SUPPORT=ON -G "Visual Studio 14 Win64" ..
就成功了。希望能帮到你。
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Hello @wanglu-nj @momo-github-1984 @TheMasterRoot @wqc007 |
im trying to install your lib by PIP but im getting some errors
i instaled all requirements and i have opencv in system path,
The text was updated successfully, but these errors were encountered: