ROS 2 Issue in Ubuntu with conda
It is common to see the following error, where when building a ROS package, it uses the wrong python executable, and then fails to find ros Python libraries.
Meanwhile, the python3 in the system terminal still points to the correct location.
Solution:
This might because that the ROS package is created inside a conda environment. Try to delete the following folders
and then exit conda to the root environment
and then build the package again.
Last updated