赞
踩
-- 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)
解决:
在cmake后面加上
-DPYTHON3_LIBRARY=../anaconda3/envs/your_envs_name/lib/libpython3.6m.so
参考https://stackoverflow.com/questions/47237098/opencv-cmake-could-not-find-pythonlibs-found-unsuitable-version-ubuntu
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。