Open ARoefer opened 5 months ago
At a quick glance, this seems to be because catkin appears to use the wrong python path.
Some relevant discussions: https://answers.ros.org/question/353111/following-installation-instructions-catkin_make-generates-a-cmake-error/ https://stackoverflow.com/questions/74934600/modulenotfounderror-no-module-named-em-despite-empy-being-installed-when-usin https://github.com/ysl208/iRoPro/issues/59
tld;dr: catkin_make -DPYTHON_EXECUTABLE=<PATH>
needs to be set to the proper Python path.
I vaguely remember having a similar issue with catkin_make at some point, but I thought it did not happen with caking build
. Need to look into it again..
It seems that the package
empy
is missing inside the docker container when using Conda. Output of trying to create a new workspace on a Ubuntu 22.04 machine using a docker container:My suspicion is that the Conda env misdirects the search path somehow. This problem does not exist with venv initialized with
--system-site-packages
as that also looks through the packages that are included in the container.