Hi,

I'm trying to figure out how to build Python modules using Boost Python
against Python3; and I'm currently stuck at getting cmake to find Python 3.

I have already installed Python3 via brew install python3; but cmake still
can't find PythonLibs 3. What am I missing here?

Here's the header of my *CMakeLists.txt *

cmake_minimum_required(VERSION 3.0)

find_package(PythonLibs 3 REQUIRED)

and here's the error message

Could NOT find PythonLibs: Found unsuitable version "2.7.6", but required

  is at least "3" (found /usr/lib/libpython2.7.dylib)
_______________________________________________
Cplusplus-sig mailing list
Cplusplus-sig@python.org
https://mail.python.org/mailman/listinfo/cplusplus-sig

Reply via email to