ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A
Ask Your Question

roslaunch turtlebot_bringup minimal.launch not working+anaconda+python3.6

asked 2018-02-04 21:30:14 -0500

ariel gravatar image

updated 2018-02-14 16:35:53 -0500

marguedas gravatar image

The system is ubuntu14.04, I install the Anaconda 3, and I create an environment which belongs to python3.6. I install ros in anaconda python3.6 environment, I add the path like this: export PATH="/home/ariel/anaconda3/bin:$PATH" source /opt/ros/indigo/setup.bash and I install turtlebot. I go into the python3.6 environment, and print like this: sudo apt-get install ros-indigo-turtlebot ros-indigo-turtlebot-apps ros-indigo-turtlebot-interactions ros-indigo-turtlebot-simulator ros-indigo-kobuki-ftdi ros-indigo-rocon-remocon ros-indigo-rocon-qt-library ros-indigo-ar-track-alvar-msgs

however, when I use this instrction:roslaunch turtlebot_bringup minimal.launch it has some error:

(python3) ariel@ariel-ThinkPad-T420:~$ roslaunch turtlebot_bringup minimal.launch 
... logging to /home/ariel/.ros/log/6787eee4-0a21-11e8-a515-8c705a64ffd4/roslaunch-ariel-ThinkPad-T420-23885.log
Checking log directory for disk usage. This may take awhile.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.

Traceback (most recent call last):
  File "/opt/ros/indigo/share/xacro/", line 60, in <module>
    import xacro
  File "/opt/ros/indigo/lib/python2.7/dist-packages/xacro/", line 36, in <module>
    import glob
ModuleNotFoundError: No module named 'glob'
while processing /opt/ros/indigo/share/turtlebot_bringup/launch/includes/robot.launch.xml:
while processing /opt/ros/indigo/share/turtlebot_bringup/launch/includes/description.launch.xml:
Invalid <param> tag: Cannot load command parameter [robot_description]: command [/opt/ros/indigo/share/xacro/ '/opt/ros/indigo/share/turtlebot_description/robots/kobuki_hexagons_asus_xtion_pro.urdf.xacro'] returned with code [1]. 

Param xml is <param command="$(arg urdf_file)" name="robot_description"/>
The traceback for the exception was written to the log file

I don't know how to do, can anyone give me some advive? Thank you!

edit retag flag offensive close merge delete


The default install of ROS is not designed to work with Anaconda. There are many similar questions, such as this one:

clyde gravatar image clyde  ( 2018-02-08 00:32:44 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2019-03-09 00:10:13 -0500

mugenzebra gravatar image

updated 2019-03-09 01:15:03 -0500

jayess gravatar image

I had the same problem after installing Anaconda. Removing anaconda by doing the following works for me

rm -rf /home/your-username/Local/Software/Anaconda

Here's a link on more details on uninstalling Anaconda.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2018-02-04 21:30:14 -0500

Seen: 328 times

Last updated: Mar 09 '19