Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unsuitable Python Version on Build #39

Open
adastec-can opened this issue Jan 30, 2024 · 2 comments
Open

Unsuitable Python Version on Build #39

adastec-can opened this issue Jan 30, 2024 · 2 comments

Comments

@adastec-can
Copy link

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!

@jlblancoc
Copy link
Member

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

@adastec-can
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants