I have Python3 installed via brew install python3
. However, cmake
cannot find PythonLibs 3. Here's the header of my CMakeLists.txt
.
cmake_minimum_required(VERSION 3.0)
find_package(PythonLibs 3 REQUIRED)
When I ran cmake, I got this error message
Could NOT find PythonLibs: Found unsuitable version "2.7.6", but required is at least "3" (found /usr/lib/libpython2.7.dylib)
Not sure what I did wrong.
brew
and how it affects things... – Zantos