Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #91454

Re: Fixing Python install on the Mac after running 'CleanMyMac'

Path csiph.com!usenet.pasdenom.info!news.redatomik.org!newsfeed.xs4all.nl!newsfeed3a.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <cfkaran2@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.001
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'modify': 0.04; 'subject:Python': 0.05; '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; 'fatal': 0.16; 'install.': 0.16; 'luck,': 0.16; 'osx': 0.16; 'scratch': 0.16; 'subject:Mac': 0.16; 'subject:after': 0.16; 'subject:install': 0.16; 'wrote:': 0.16; 'laura': 0.18; 'machine': 0.21; 'cc:2**0': 0.21; 'cc:addr:python.org': 0.21; 'software.': 0.22; 'fairly': 0.22; 'cc:no real name:2**0': 0.23; 'third-party': 0.23; 'file.': 0.24; "i've": 0.24; 'header:In-Reply-To:1': 0.24; 'install': 0.25; 'idea': 0.26; 'installed': 0.26; 'figure': 0.27; 'now?': 0.29; 'skip:/ 40': 0.29; 'array': 0.29; 'that.': 0.30; 'supposed': 0.31; "can't": 0.32; 'says': 0.32; 'framework': 0.32; 'point': 0.33; 'url:python': 0.33; 'utility': 0.33; 'open': 0.33; 'running': 0.34; 'received:google.com': 0.34; 'that,': 0.34; 'message-id:@gmail.com': 0.35; 'could': 0.35; 'done': 0.35; 'really': 0.35; 'but': 0.36; 'url:org': 0.36; 'there': 0.36; 'so,': 0.37; 'two': 0.37; 'should': 0.37; 'email addr:python.org': 0.37; 'subject:: ': 0.37; 'charset:us-ascii': 0.37; 'mac': 0.37; 'delete': 0.37; "won't": 0.38; 'pm,': 0.39; 'expect': 0.39; 'url:2': 0.39; 'does': 0.39; 'url:docs': 0.39; 'received:192': 0.39; 'data': 0.40; 'build': 0.40; 'where': 0.40; 'subject:the': 0.40; 'some': 0.40; 'back': 0.61; 'hope': 0.61; 'she': 0.61; 'header:Message-Id:1': 0.62; '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; 'located.': 0.84; 'wipe': 0.84
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=SjnVBdO6Fw6VeDIlCKeqkpt+i91mw3DQ5q+h1rzP6f4=; b=TCLOCsIIGQgTO05OAq/EwDzHd/MaiXF3KOrhL6tiqNfqcs3lvqlXQaflZrVWBc3mPP ESNe+0Ux8Q9ctH9qJt6oMTBmDcfG2xuU3XRd0nAn1VAkC44kgtSD9mKRqshpieBaucUo zyVZVLArHuWv3TtHmrIKAJd1GxiBh70HbLeTh4bLyBv8oN2mZjZtpQ9AOZe3WT+HLAhR l5MMCjQbEZZjEl0bgR/lKgaWDOT6iIfrvLnANs1ckZ6zKOKXTbIzEBPHYfUnXhRYIpq2 FWPr7S0z4m0PQS3I2eUnTyYUaASYI5B3Gc5HxtUsmE89mfDP/aWh6Cvkr52E+nw0MdKm ETPw==
X-Received by 10.55.26.147 with SMTP id l19mr15537375qkh.59.1432905171721; Fri, 29 May 2015 06:12:51 -0700 (PDT)
Content-Type text/plain; charset=us-ascii
Mime-Version 1.0 (Mac OS X Mail 6.6 \(1510\))
Subject Re: Fixing Python install on the Mac after running 'CleanMyMac'
From Cem Karan <cfkaran2@gmail.com>
In-Reply-To <201505290347.t4T3lYjC006610@fido.openend.se>
Date Fri, 29 May 2015 09:12:52 -0400
Cc python-list@python.org
Content-Transfer-Encoding quoted-printable
References <201505290347.t4T3lYjC006610@fido.openend.se>
To Laura Creighton <lac@openend.se>
X-Mailer Apple Mail (2.1510)
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.20+
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.179.1432905173.5151.python-list@python.org> (permalink)
Lines 50
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1432905173 news.xs4all.nl 2952 [2001:888:2000:d::a6]:56750
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:91454

Show key headers only | View raw


On May 28, 2015, at 11:47 PM, Laura Creighton <lac@openend.se> wrote:

> webmaster@python.org just got some mail from some poor embarrased
> soul who ran this program and broke their Python install.
> 
> They are running Mac OSX 10.7.5
> 
> They are getting:
> 
>     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.
> 
> So https://docs.python.org/2/using/mac.html says:
> 
>   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.
> 
> So, I assume this poor soul has done precisely that.
> 
> What do I tell her to do now?

Does she have a recent Time Machine backup that she can restore from?  Otherwise the solutions are all fairly painful:

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.

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.

3) Wipe it clean and reinstall from scratch.

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.

Good luck,
Cem Karan

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: Fixing Python install on the Mac after running 'CleanMyMac' Cem Karan <cfkaran2@gmail.com> - 2015-05-29 09:12 -0400

csiph-web