Wrong python packages path for opencv cmake installation

ぐ巨炮叔叔 提交于 2019-12-04 07:49:32

For some reason it looks like CMake didn't automatically determine your site-packages directory for your virtual environment. That's not an issue though, because all you need to do is sym-link in the cv2.so file.

Find your cv2.so file on disk (based on your output, it seems to be in lib/python2.7/site-packages) and then sym-link into your Python virtual environment site-packages directory. From there, everything will work as expected.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!