rickstaa/.ros_conda_wrapper

Module roslaunch not found inside Conda environment

Closed this issue · 1 comments

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:

  1. Install the .ros_conda_wrapper
  2. Create a Conda environment conda create -n my_conda_env python=3.7.4
  3. Activate the Conda environment
  4. Try to launch a ROS launch file
  5. 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

Fixes by 4b4b056. Released in v1.0.3.