catkin_make: Could NOT find PythonLibs
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/libpython2.7.so)
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?
Asked by Jose-Araujo on 2020-09-08 15:52:46 UTC
Comments
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?
Asked by gvdhoorn on 2020-09-09 01:54:06 UTC
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.
Asked by Jose-Araujo on 2020-09-09 20:55:58 UTC