I am on osx-mavericks and I am encountering a Segmentation fault: 11 issue.
This SO post: Segmentation fault: 11 in OS X says that this could be caused by python 2.7.5
I attempted to upgrade python to the next version.
When I do
port installed | grep python
I see:
python27 @2.7.6_0 (active)
However, when I run
python --version
I get
Python 2.7.5
It does the same behavior for python2.7 --version as well. Can anyone help me with this? How do I get python up to 2.7.6? Is it already there and just acting weird? Do I still have 2.7.5 on the machine somewhere? (Also, its worth noting I'm a bit new to the osx development environment)
Thanks to all.
I found the macports python at /opt/local/bin/python, whereas which python showed me /usr/local/bin/python. I changed the order in which these two directories are seen in my PATH and everything seems to work now.