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

Ros and Anaconda on an OS X homebrew installI

asked 2016-03-03 06:21:08 -0600

nckswt gravatar image

I'm trying to get ROS to play nicely with my Anaconda python. I know the prevailing answer to this problem is. "Don't." but I need Anaconda for other elements of my workflow.

My main issue is this:

$ roswtf
Fatal Python error: PyThreadState_Get: no current thread
Abort trap: 6

which seems to be the result of the wrong python being called. What I'm not sure about is how ROS binaries know which python version to use. Does anyone have experience with this?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2017-08-14 02:26:18 -0600

tfoote gravatar image

The version of python that gets called is the one on your PATH that matches the #! line in the script. There are several places however that the python interpreter is cached during the build and installation phases that might catch you up with a problem.

edit flag offensive delete link more

Question Tools



Asked: 2016-03-03 06:21:08 -0600

Seen: 974 times

Last updated: Aug 14 '17