当前位置:   article > 正文

编译opencv出现Could NOT find PythonLibs: Found unsuitable version “3.6.9“, but required is exact version

could not find pythonlibs: found unsuitable version
-- Could NOT find PythonLibs: Found unsuitable version "3.6.9", but required is exact version "3.6.10" (found /usr/lib/x86_64-linux-gnu/libpython3.6m.so)
  • 1

解决:
在cmake后面加上

 -DPYTHON3_LIBRARY=../anaconda3/envs/your_envs_name/lib/libpython3.6m.so
  • 1

参考https://stackoverflow.com/questions/47237098/opencv-cmake-could-not-find-pythonlibs-found-unsuitable-version-ubuntu

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/Monodyee/article/detail/570208
推荐阅读
相关标签
  

闽ICP备14008679号