Closed jhwangbo closed 3 years ago
execute_process(/home/jemin/.virtualenvs/raisim/bin/python3
this line is very suspicious. It is calling python in my virtualenv. I might have my virtualenv active when I installed it. But clean install doesn't fix this.
@jhwangbo Your Python environment seems to be off. You need to make sure that all necessary dependencies are available in the used Python environment. If you follow the official instructions you wouldn't have a virtualenv.
Since this is not a problem within colcon
I am going to close this ticket. If you need further help troublehshooting your setup you probably get more eyes and feedback by asking on answers.ros.org (or checking for existing questions and answers on similar topics).
Hey, so following up on this as I had the same issue. As noted, it looks like you're using a virtual environment, so you need to install catkin_pkg
into the environment. I'm using conda
and I had to install catkin_pkg
, empy
, and lark
:
conda install -c conda-forge catkin_pkg empy lark
@jbrodovsky you are a master mind... thanks!
I followed the install instruction on Ros2 Eloquent. If call
colcon build
on my workspace, I get this errorModuleNotFoundError: No module named 'catkin_pkg'
then I tried the instruction here https://colcon.readthedocs.io/en/released/user/installation.html but it didn't help.
I tried
sudo apt install python3-catkin-*
but it also doesn't work.Here is the full error log