ysl208/iRoPro

Unable to find either executable 'empy' or Python module 'em'... try installing the package 'python-empy'

Closed this issue ยท 6 comments

When running catkin build I get the following error

CMake Error at /opt/ros/melodic/share/catkin/cmake/empy.cmake:29 (message):
  Unable to find either executable 'empy' or Python module 'em'...  try
  installing the package 'python-empy'
Call Stack (most recent call first):
  /opt/ros/melodic/share/catkin/cmake/all.cmake:163 (include)
  /opt/ros/melodic/share/catkin/cmake/catkinConfig.cmake:20 (include)
  CMakeLists.txt:56 (find_package)

This can be solved by telling it to use python3

catkin build -DPYTHON_EXECUTABLE=/usr/bin/python3 -DPYTHON_INCLUDE_DIR=/usr/include/python3.7m

Why doesn't it default to python3?

catkin_make -DPYTHON_EXECUTABLE=/usr/bin/python3

catkin_make -DPYTHON_EXECUTABLE=/usr/bin/python3

Thanks! Your solution works for me!

catkin_make -DPYTHON_EXECUTABLE=/usr/bin/python3

Yes, work for me too. Thanks a lot!

That works for me, too! Thanks!