6 ms·
So, I updated to Mavericks. Ran python and it Segfaulted. I think this is the first time I have had python crash like that. Python 2.7.5 (v2.7.5:ab05e7dd2788,
by npalli 13y ago
So, I updated to Mavericks. Ran python and it Segfaulted. I think this is the first time I have had python crash like that.
Python 2.7.5 (v2.7.5:ab05e7dd2788, May 13 2013, 13:18:45)
[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> a = 1000
>>> a/1000
Segmentation fault: 11
- mythz 13y agoJust tried it on Mavericks, Works for me: Python 2.7.5 (default, Aug 25 2013, 00:04:04) [GCC 4.2.1 Compatible Apple LLVM 5.0 (clang-500.0.68)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> a = 1000 >>> a/1000 1 >>>
- npalli 13y agoYeah, I realized this after posting. Mavericks is installing its own version of python compiled with clang-5.0. My path was modified by the python installer (from mountain lion) to point under Library and was compiled using the older gcc 4.2. Looks like that program crashes for simple things (division, addition etc.).
- rattray 13y agothanks for sharing. What did you do to solve this?
- karanlyons 13y agoYou could swap your PATH back to the OS's python, or compile python yourself. Homebrew is great for the latter, and much more.
- celias 13y agoThere is a problem with the readline emulation of libedit that causes python 2.7 - 3.3 from python.org to crash under 10.9 http://bugs.python.org/issue18458 http://bugs.python.org/issue18458 I get Segmentation fault: 11 if I enter more than one line in python3.3 running interactively in Terminal, but ipython3 seems to work.