Python Fault

Joined
Jan 22, 2015
Messages
6
Reaction score
0
Points
1
Python 2.7.2 (v2.7.2:8527427914a2, Jun 11 2011, 15:22:34

This is the version of Python I'm running on my iMac (OS X Yosemite version 10.10.3)
When I try to run a small piece of code I get this error

Segmentation fault: 11

Weird! I'm at a loss as to what to do to solve this problem.

As anyone else run into this error?
 

vansmith

Senior Member
Joined
Oct 19, 2008
Messages
19,924
Reaction score
559
Points
113
Location
Queensland
Your Mac's Specs
Mini (2014, 2018, 2020), MBA (2020), iPad Pro (2018), iPhone 13 Pro Max, Watch (S6)
OS X 10.9 introduced a complication with Python's readline functionality (see here) that was solved with Python 2.7.6.
 
OP
T
Joined
Jan 22, 2015
Messages
6
Reaction score
0
Points
1
Thank-you!

I'm about to start a computer science course (spent my IT time as an Oracle DBA more used to SQL, PL/SQL, Pearl & Bourne/Korn shell) and thye use Python as the development platform. Go figure.

Upgraded to Python 2.7.6 and it running great.
 

vansmith

Senior Member
Joined
Oct 19, 2008
Messages
19,924
Reaction score
559
Points
113
Location
Queensland
Your Mac's Specs
Mini (2014, 2018, 2020), MBA (2020), iPad Pro (2018), iPhone 13 Pro Max, Watch (S6)
Why not upgrade to the most recent stable build (2.7.10)?
 
OP
T
Joined
Jan 22, 2015
Messages
6
Reaction score
0
Points
1
Honestly just wanted a working version. I'll only be using it for 3 months or so and, if I decide to use it as a development tool, will upgrade.

I'm in the process of moving my source code from PHP to Java EE, slowly as I learn Java EE too.
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top