ysl208 / iRoPro

iRoPro on Baxter
MIT License
4 stars 0 forks source link

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

Closed ysl208 closed 3 years ago

ysl208 commented 3 years ago

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)
ysl208 commented 3 years ago

This can be solved by telling it to use python3

catkin build -DPYTHON_EXECUTABLE=/usr/bin/python3 -DPYTHON_INCLUDE_DIR=/usr/include/python3.7m
AnshShah3009 commented 1 year ago

Why doesn't it default to python3?

AbdelrahmanAbounida commented 1 year ago

catkin_make -DPYTHON_EXECUTABLE=/usr/bin/python3

liu-jun-chen commented 1 year ago

catkin_make -DPYTHON_EXECUTABLE=/usr/bin/python3

Thanks! Your solution works for me!

AwesomePeiweiPan commented 1 year ago

catkin_make -DPYTHON_EXECUTABLE=/usr/bin/python3

Yes, work for me too. Thanks a lot!

Jeremiah-HL commented 7 months ago

That works for me, too! Thanks!