Python segfaults on OS X.10 with Indigo and brew
Hello all,
I've installed ROS indigo, following the standard install on the site, on a Mac OS X 10 (Yosemite). Whenever I try to run python scripts such as rostopic
or rosrun rqt_graph rqt_graph
, I get the following error:
Fatal Python error: PyThreadState_Get: no current thread
Abort trap: 6
I understand that this has something to do with conflicting python versions between Homebrew and Mac OS X. Is there anything I can do now, short of re-installing ROS again?
Thanks!
Having the same issue.
Unfortunately I think you need to recompile everything, since all the packages which built against Python need to be built using the headers from the Python interpreter you're going to link against.
@William: I rebuilt everything just now, but am getting the same error. Do I need to do something with Python before recompiling? I tried doing a
brew reinstall boost --with-python
before building.@Tom Moore, I'm not sure, did you uninstall the Homebrew Python? or are you rebuilding because you now have the Homebrew Python?
I'm sorted now, thanks. I missed a step in the OS X instructions:
"Note: It is recommended to use the system python rather than homebrewed python because of problems with segmentation faults. http://answers.ros.org/question/10843...