ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Conflict with ROS Python and Conda

asked 2016-09-27 23:22:05 -0600

rohin gravatar image

Ever since I have installed Conda, ROS does not seem to work. And predictably it is because Conda has changed my Python environment.

I run ROS Indigo on Ubuntu 14.04.

Can someone guide on how can I use both on my machine? I am willing to make changes to my system every time I want to switch from one to another.

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2016-09-28 03:57:33 -0600

gavran gravatar image

The problem is that Conda is now in your path before system python (for which you probably have installed ros libraries). In their troubleshooting section check the section Issue: Programs fail due to invoking conda Python and not system Python : they suggest few solutions, the simplest of which is to remove conda from the path, and use conda later on with the full path names (such as ~/miniconda3/bin/conda)

edit flag offensive delete link more


Thanks! That did it...should've looked into the troubleshooting guide before...

rohin gravatar image rohin  ( 2016-09-30 12:46:20 -0600 )edit

welcome! mark then the question as resolved to close it

gavran gravatar image gavran  ( 2016-10-01 10:46:31 -0600 )edit

answered 2020-01-17 07:52:12 -0600

rickstaa gravatar image

updated 2020-01-17 07:52:30 -0600

Based on the answers of @gavran and @StefanFabian of I created an easy to install bash wrapper that solves the problems described above. This wrapper can be found on

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2016-09-27 23:22:05 -0600

Seen: 4,588 times

Last updated: Jan 17 '20