Skip to content

how to solve this err: CMake Error at cmake/python.cmake:197 (message): Python executable has not been found #2533

Closed Answered by jcarpent
tjuzhcs asked this question in Q&A
Discussion options

You must be logged in to vote

Normally, by setting the CMake variable PYTHON_EXECUTABLE when running the cmake command should solve your issue:

cmake . -DPYTHON_EXECUTABLE=$(which python3)

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by jcarpent
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants