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

1 Answer

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 imagerohin ( 2016-09-30 12:46:20 -0600 )edit

welcome! mark then the question as resolved to close it

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

A small wrapper that eases the process of using ROS inside a conda enviroment can be found here.

rickstaa gravatar imagerickstaa ( 2019-11-08 10:34:46 -0600 )edit

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: 2016-09-27 23:22:05 -0600

Seen: 3,217 times

Last updated: Sep 28 '16