
* 문제 상황
catkin build로 ROS pacakge를 빌드하려고 하면 위 에러가 발생
이때 pip install로 empy를 설치하려고 하면 이미 설치되었다고 나옴.
* 해결 방법
catkin build 뒤에 파이썬 경로를 명시
catkin build -DPYTHON_EXECUTABLE=/usr/bin/python3
* Reference
https://github.com/ysl208/iRoPro/issues/59
Unable to find either executable 'empy' or Python module 'em'... try installing the package 'python-empy' · Issue #59 · ysl
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 ...
github.com
'ROS' 카테고리의 다른 글
| [ROS2] 다른 패키지에서 라이브러리 가져다 쓰기 | CMakeLists.txt, package.xml skeleton 정리 (0) | 2026.04.12 |
|---|---|
| curl installation error (0) | 2023.12.18 |
| [ROS] 파이썬 노드 및 패키지 생성 방법 (0) | 2023.10.18 |
| [ROS] rosbag 토픽 이름 변경 방법 (0) | 2023.10.18 |
| [ROS] Launch 파일에서 rosbag play 방법 (0) | 2023.07.30 |