catkin_make: Could NOT find PythonLibs

asked 2020-09-08 15:52:46 -0600

Jose-Araujo gravatar image

updated 2020-09-08 15:53:43 -0600

I'm with this error, and I don't know how solve this.

> CMake Error at /usr/share/cmake-3.10/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
  Could NOT find PythonLibs: Found unsuitable version "2.7.17", but required
  is at least "3.6" (found /usr/lib/x86_64-linux-gnu/
Call Stack (most recent call first):
  /usr/share/cmake-3.10/Modules/FindPackageHandleStandardArgs.cmake:376 (_FPHSA_FAILURE_MESSAGE)
  /usr/share/cmake-3.10/Modules/FindPythonLibs.cmake:262 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  ros_comm/utilities/roslz4/CMakeLists.txt:44 (find_package)

Someone could help me?

edit retag flag offensive close merge delete


Looks like you're trying to build ros_comm packages from source -- are you?

If so: did you remember to checkout the correct branch for Melodic?

gvdhoorn gravatar image gvdhoorn  ( 2020-09-09 01:54:06 -0600 )edit

So, what happened was that I had to form my computer, so I just copied the workspace. Then I reinstalled everything, but I don't know if I did it right.

Jose-Araujo gravatar image Jose-Araujo  ( 2020-09-09 20:55:58 -0600 )edit