Path: csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!newsfeed.xs4all.nl!newsfeed5.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.001 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'output': 0.04; 'skip:p 60': 0.05; 'things.': 0.05; 'python': 0.09; '(it': 0.09; 'output,': 0.09; 'sep': 0.09; 'cc:addr:python-list': 0.10; 'subject:python': 0.11; '2.7': 0.13; 'yet.': 0.13; '"python': 0.16; '-name': 0.16; '2.6.4': 0.16; '2.7.3': 0.16; 'command,': 0.16; 'distinction': 0.16; 'luck,': 0.16; 'oct': 0.16; 'received:mac.com': 0.16; 'resort': 0.16; 'subject:gone': 0.16; 'subject:where': 0.16; 'wrote:': 0.17; 'directory.': 0.17; 'received:10.0.1': 0.17; 'typing': 0.17; 'version.': 0.17; 'admin': 0.18; '(or': 0.18; 'bit': 0.21; 'do.': 0.21; 'earlier': 0.21; 'help.': 0.22; '(you': 0.23; 'installed': 0.23; "i've": 0.23; 'cc:no real name:2**0': 0.24; 'cc:2**1': 0.24; 'cc:addr:python.org': 0.25; 'appear': 0.26; 'looks': 0.26; 'setting': 0.26; 'am,': 0.27; 'checking': 0.27; 'first,': 0.27; "doesn't": 0.28; '"python"': 0.29; 'url:mailman': 0.29; 'case,': 0.29; "i'm": 0.29; 'maybe': 0.29; 'point': 0.31; 'url:python': 0.32; 'file': 0.32; '(2)': 0.32; 'mac': 0.32; 'url:listinfo': 0.32; 'received:10.0': 0.33; 'operations': 0.33; 'entry': 0.33; 'version': 0.34; "can't": 0.34; '(1)': 0.34; 'bigger': 0.35; 'path': 0.35; 'received:17': 0.35; 'saved': 0.35; 'so,': 0.35; 'subject:?': 0.35; 'something': 0.35; 'but': 0.36; 'url:org': 0.36; 'apple': 0.36; 'should': 0.36; 'uses': 0.37; 'python.org': 0.37; 'quite': 0.37; 'subject:: ': 0.38; 'files': 0.38; 'some': 0.38; 'received:10': 0.38; 'several': 0.39; 'step': 0.39; 'google': 0.39; 'where': 0.40; 'url:mail': 0.40; 'think': 0.40; 'your': 0.60; "you've": 0.61; 'stay': 0.61; 'export': 0.62; 'between': 0.63; 'gone': 0.64; 'charset:windows-1252': 0.65; 'hints': 0.65; 'want,': 0.65; 'finally': 0.66; 'touch': 0.69; 'gotten': 0.75; '_if_': 0.84; 'housekeeping': 0.84; 'late,': 0.84; 'running,': 0.84; 'ships': 0.84 MIME-version: 1.0 Content-type: text/plain; charset=windows-1252 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.7.7855,1.0.431,0.0.0000 definitions=2012-09-10_02:2012-09-06, 2012-09-10, 1970-01-01 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 ipscore=0 suspectscore=0 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=6.0.2-1203120001 definitions=main-1209100094 Subject: Re: Newbie: where's the new python gone? From: "William R. Wing (Bill Wing)" In-reply-to: Date: Mon, 10 Sep 2012 09:04:24 -0400 Content-transfer-encoding: quoted-printable References: To: BobAalsma X-Mailer: Apple Mail (2.1486) Cc: python-list@python.org, "William R. Wing \(Bill Wing\)" X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 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: 60 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1347285874 news.xs4all.nl 6895 [2001:888:2000:d::a6]:47782 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:28819 On Sep 9, 2012, at 10:28 AM, BobAalsma = wrote: > I think I've installed Python 2.7.3 according to the instructions in = the README, and now want to use that version.=20 > However, when typing "python" in Terminal, I get "Python 2.6.4 = (r264:75821M, Oct 27 2009, 19:48:32) ". > So: > (1) I can't seem to find where the new software has gone and=20 > (2) can't seem to find how to point to this new versoin. > I've searched Python.org and with Google but :( > [I'm on Mac OS X 10.7.4] >=20 > Please help. > --=20 > http://mail.python.org/mailman/listinfo/python-list Bob, I'm coming into this late, but it doesn't appear that you've gotten = a satisfactory answer yet. Let's take it one step at a time. First, if none of the hints you've received earlier have gotten you = going. Maybe the thing is to resort to a bigger hammer. In a terminal = window: $sudo find / -name Python -print This will search the entire file system for all the files named Python = and will ask for your admin password so it can search in directories = owned by root. (It may also generate quite a bit of output, so you = might want to capture it in a file.) In any case, this will take = several minutes and while it is running, you can be checking a couple of = other things. OS X doesn't use a .bashrc file by default (you can make = it do so if you want, but that's extra work right now). It uses .login = and then .profile to set up your python path _if_ you've used the = installer from python.org. So, look to see if you have a .profile in your ~ directory. If so, then = you're using (or have used at some point in the past) an installer from = python.org. It should have an entry that looks something like the following: # Setting PATH for Python 2.7 # The orginal version is saved in .profile.pysave PATH=3D"/Library/Frameworks/Python.framework/Versions/2.7/bin:${PATH}" export PATH Note the distinction between this path and the one from Apple. The = python that ships from Apple is in /System/Library/Frameworks=85 Do NOT touch the one from Apple. Apple uses it for some of its = housekeeping operations and you want it to stay just as Apple installed = it. When you finally find the Python 2.7 in the output from the "find" = command, you can edit your .login (if you don't have a .profile) or edit = .profile if you do. Good luck, Bill