-
I want to install pinocchio, but meet this problem: CMake Error at cmake/python.cmake:197 (message): Does anyone know how to do? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hi, thanks for your interest in Pinocchio! I'll ask a few questions for further info: What is your operating system? Against what kind of environment are you trying to build Pinocchio ? A conda env, a virtualenv, system (i.e. installed through apt, pacman...) Python ? What CMake command did you run ? |
Beta Was this translation helpful? Give feedback.
-
Normally, by setting the CMake variable cmake . -DPYTHON_EXECUTABLE=$(which python3) |
Beta Was this translation helpful? Give feedback.
Normally, by setting the CMake variable
PYTHON_EXECUTABLE
when running the cmake command should solve your issue: