mvsim
mvsim copied to clipboard
Unsuitable Python Version on Build
Hi,
I cloned the repo (develop branch) into my workspace and trying to make a build. I am getting the following error during build, can you help? I am running ROS1 on Ubuntu 20.04.
CMake Error at /usr/share/cmake-3.16/Modules/FindPackageHandleStandardArgs.cmake:146 (message): Could NOT find PythonInterp: Found unsuitable version "3.8.10", but required is at least "3.9" (found /usr/bin/python3) Call Stack (most recent call first): /usr/share/cmake-3.16/Modules/FindPackageHandleStandardArgs.cmake:391 (_FPHSA_FAILURE_MESSAGE) /usr/share/cmake-3.16/Modules/FindPythonInterp.cmake:169 (FIND_PACKAGE_HANDLE_STANDARD_ARGS) /opt/ros/noetic/share/pybind11_catkin/cmake/FindPythonLibsNew.cmake:98 (find_package) /opt/ros/noetic/share/pybind11_catkin/cmake/pybind11Tools.cmake:50 (find_package) /opt/ros/noetic/share/pybind11_catkin/cmake/pybind11Common.cmake:180 (include) /opt/ros/noetic/share/pybind11_catkin/cmake/pybind11Config.cmake:248 (include) modules/CMakeLists.txt:74 (find_package)
Thank you very much!
I'll investigate it...
But for the time being, just uncheck this cmake flag using ccmake or cmake-gui in the build/mvsim directory: MVSIM_WITH_PYTHON=OFF
Hi,
Thanks for the quick response! That solved it for me. But as you said, maybe taking a look at it may prevent further issues for others.
Cheers.
I'm closing this one since I think the issue does not affect default ROS1 installations, since we couldn't replicate the problem. Feel free to reopen if someone else finds it and can give instructions to replicate.