Path: csiph.com!usenet.pasdenom.info!news.redatomik.org!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.000 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'modify': 0.04; 'subject:Python': 0.05; 'failing': 0.05; 'badly': 0.07; 'skip:/ 10': 0.07; 'scripts': 0.09; 'broke': 0.09; 'creighton': 0.09; 'reinstall': 0.09; 'runtime': 0.09; 'terminate.': 0.09; 'url:mac': 0.09; 'cc:addr:python-list': 0.10; 'python': 0.11; 'assume': 0.11; '2.7': 0.13; 'times,': 0.13; '(either': 0.16; 'cc:addr:lac': 0.16; 'cc:addr:openend.se': 0.16; 'cc:name:laura creighton': 0.16; 'clone': 0.16; 'fatal': 0.16; 'install.': 0.16; 'intervening': 0.16; 'luck,': 0.16; 'osx': 0.16; 'received:10.0.1.5': 0.16; 'received:mac.com': 0.16; 'scratch': 0.16; 'subject:Mac': 0.16; 'subject:after': 0.16; 'subject:install': 0.16; 'well-known': 0.16; 'wrote:': 0.16; 'laura': 0.18; 'received:10.0.1': 0.18; 'cc:2**2': 0.20; 'machine': 0.21; 'cc:addr:python.org': 0.21; 'software.': 0.22; 'fairly': 0.22; 'minor': 0.22; 'cc:no real name:2**0': 0.23; 'am,': 0.23; 'third-party': 0.23; 'file.': 0.24; "i've": 0.24; 'written': 0.24; 'install': 0.25; 'idea': 0.26; 'installed': 0.26; 'figure': 0.27; 'followed': 0.27; 'now?': 0.29; 'piece': 0.29; 'skip:/ 40': 0.29; 'array': 0.29; 'that.': 0.30; 'url:mailman': 0.31; 'supposed': 0.31; "can't": 0.32; 'says': 0.32; 'framework': 0.32; 'good.': 0.32; 'point': 0.33; 'url:python': 0.33; 'machine.': 0.33; 'utility': 0.33; 'open': 0.33; 'received:10.0': 0.34; 'running': 0.34; 'that,': 0.34; 'url:listinfo': 0.35; 'could': 0.35; 'done': 0.35; 'received:17': 0.35; 'really': 0.35; 'but': 0.36; 'url:org': 0.36; 'there': 0.36; 'possible': 0.36; 'so,': 0.37; 'two': 0.37; 'should': 0.37; 'email addr:python.org': 0.37; 'received:10': 0.37; 'subject:: ': 0.37; 'mac': 0.37; 'delete': 0.37; "won't": 0.38; 'files': 0.38; 'pm,': 0.39; 'expect': 0.39; 'url:2': 0.39; 'does': 0.39; 'url:docs': 0.39; 'data': 0.40; 'build': 0.40; 'where': 0.40; 'subject:the': 0.40; 'some': 0.40; 'header:MIME-version:1': 0.60; 'back': 0.61; 'hope': 0.61; 'she': 0.61; 'is.': 0.63; 'you.': 0.64; 'url:co': 0.64; 'backup': 0.66; 'drive,': 0.66; 'email name:webmaster': 0.66; 'restore': 0.70; 'soul': 0.72; 'header:In-reply-to:1': 0.84; 'located.': 0.84; 'wipe': 0.84 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.14.151,1.0.33,0.0.0000 definitions=2015-05-29_04:2015-05-29,2015-05-29,1970-01-01 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 suspectscore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=7.0.1-1412110000 definitions=main-1505290177 Content-type: text/plain; charset=utf-8 MIME-version: 1.0 (Mac OS X Mail 8.2 \(2098\)) Subject: Re: Fixing Python install on the Mac after running 'CleanMyMac' From: William Ray Wing In-reply-to: <1DD77C2F-FA02-4604-A1AF-7FDE7FFC47E9@gmail.com> Date: Fri, 29 May 2015 09:55:31 -0400 Cc: "William R. Wing" , Laura Creighton , python-list@python.org Content-transfer-encoding: quoted-printable References: <201505290347.t4T3lYjC006610@fido.openend.se> <1DD77C2F-FA02-4604-A1AF-7FDE7FFC47E9@gmail.com> To: Cem Karan X-Mailer: Apple Mail (2.2098) X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.20+ Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 66 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1432911344 news.xs4all.nl 2950 [2001:888:2000:d::a6]:59581 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:91466 > On May 29, 2015, at 9:12 AM, Cem Karan wrote: >=20 >=20 > On May 28, 2015, at 11:47 PM, Laura Creighton wrote: >=20 >> webmaster@python.org just got some mail from some poor embarrased >> soul who ran this program and broke their Python install. >>=20 >> They are running Mac OSX 10.7.5 >>=20 >> They are getting: >>=20 >> Utility has encountered a fatal error, and will now terminate. A >> Python runtime could not be located. You may need to install a >> framework build of Python or edit the PyRuntimeLocations array in = this >> applications info.plist file. Then there are two oblong circles. = One >> says Open Console. The other says Terminate. >>=20 >> So https://docs.python.org/2/using/mac.html says: >>=20 >> The Apple-provided build of Python is installed in >> /System/Library/Frameworks/Python.framework and /usr/bin/python, >> respectively. You should never modify or delete these, as they are >> Apple-controlled and are used by Apple- or third-party software. >>=20 >> So, I assume this poor soul has done precisely that. >>=20 >> What do I tell her to do now? As a minor addendum - you can point out that =E2=80=9CClean My Mac=E2=80=9D= is a well-known piece of crap-ware that is so badly written as to be = labeled by most people as malware. Best possible solution would be a = clean boot and restore from a recent clone (either CarbonCopy Cloner or = SuperDuper) followed by a restore of intervening files from Time = Machine. Failing that, Cem=E2=80=99s suggestions are good. -Bill >=20 > Does she have a recent Time Machine backup that she can restore from? = Otherwise the solutions are all fairly painful: >=20 > 1) Install Python 2.7 from scratch (easy). Then figure out where to = put symlinks that point back to the install (mildly annoying/hard). = Note that Python 3 won't work; none of the built-in scripts expect it. >=20 > 2) OS X recovery - = http://www.macworld.co.uk/how-to/mac/how-reinstall-mac-os-x-using-internet= -recovery-3593641/ I've never had to do that, so I have no idea how = easy/reliable it is. I **think** its supposed to save all the data on = the drive, but again, I've not done this, so I can't make any = guarantees. >=20 > 3) Wipe it clean and reinstall from scratch. >=20 > Honestly, I hope she has a time machine backup. I've had to do = recoveries a couple of times, and it can really save you. >=20 > Good luck, > Cem Karan > --=20 > https://mail.python.org/mailman/listinfo/python-list