Module roslaunch not found inside Conda environment
Closed this issue · 1 comments
rickstaa commented
Describe the bug
When trying to launch a ROS launch file inside a Conda environment that has been initialized using conda --ros-wrapper init
you get the following error:
Traceback (most recent call last):
File "/opt/ros/melodic/bin/roslaunch", line 34, in <module>
import roslaunch
ImportError: No module named roslaunch
To Reproduce
Steps to reproduce the behavior:
- Install the .ros_conda_wrapper
- Create a Conda environment
conda create -n my_conda_env python=3.7.4
- Activate the Conda environment
- Try to launch a ROS launch file
- See error
Expected behavior
The roslaunch should be executed correctly.
Desktop (please complete the following information):
- OS: Ubuntu 18.04
- CONDA version: 4.8.1
- ROS version: Melodic