Turtlebot launching wile Anaconda is installed [closed]

asked 2017-07-05 08:27:30 -0500

cydonia gravatar image

Hello all,

I am pretty new to ROS and trying to write a Turtlebot simulation. I followed the steps explained in here until the one roslaunch turtlebot3_fake turtlebot3_fake.launch. I got the following error at that:

Traceback (most recent call last): File "/opt/ros/kinetic/share/xacro/xacro.py", line 55, in <module> import xacro File "/opt/ros/kinetic/lib/python2.7/dist-packages/xacro/__init__.py", line 35, in <module> import glob File "/home/cydonia/anaconda3/lib/python3.6/glob.py", line 4, in <module> import re ModuleNotFoundError: No module named 're' while processing /home/cydonia/turtlebot3_ws/src/turtlebot3/turtlebot3_bringup/launch/includes/description.launch.xml: Invalid tag: Cannot load command parameter [robot_description]: command [/opt/ros/kinetic/share/xacro/xacro.py '/home/cydonia/turtlebot3_ws/src/turtlebot3/turtlebot3_description/urdf/turtlebot3_burger.urdf.xacro'] returned with code [1]. Param xml is The traceback for the exception was written to the log file

I've already encountered some problems related to the fact that Anaconda is installed, but I somehow managed to overcome these but I'm stuck again. How can I make ROS use Python 2.7 instead of Anaconda? Thanks a lot.

edit retag flag offensive reopen merge delete

Closed for the following reason duplicate question by tfoote
close date 2017-07-05 12:16:05.543741


tfoote gravatar image tfoote  ( 2017-07-05 12:16:02 -0500 )edit