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


Groups > comp.lang.python > #39938 > unrolled thread

Re: installation

Started byNed Deily <nad@acm.org>
First post2013-02-26 01:09 -0800
Last post2013-02-26 01:09 -0800
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: installation Ned Deily <nad@acm.org> - 2013-02-26 01:09 -0800

#39938 — Re: installation

FromNed Deily <nad@acm.org>
Date2013-02-26 01:09 -0800
SubjectRe: installation
Message-ID<mailman.2536.1361869783.2939.python-list@python.org>
In article <445BF19A-2093-4910-97A5-7F23D6E642F4@insightbb.com>,
 Steve Pruitt <steve.pruitt@insightbb.com> wrote:

> I installed Python 3.3 for the Mac (10.6.8), but I did not get the 
> interpreter installed.  I get IDLE and the Launcher, but no interpreter.  At 
> least I can't find it.
> 
> I thought maybe it updated /System/Library/Frameworks/Python.framework.  No 
> luck.  I guess my question is how do I get the latest interpreter installed?

If you used one of the python.org installers for OS X, it installs into 
/Library/Frameworks/Python.framework.  /System/Library/Frameworks is 
where the Apple-supplied Pythons are located.  You should not attempt to 
alter or delete files there.

To use the new Python you should ensure that the framework bin directory 
is added to the front of your shell PATH environment variable.  For 
Python 2 installs, the installer does this automatically by default. For 
Python 3 installs, the installer does not.  However you can double-click 
the Update Shell Profile command in the /Applications/Python 3.3 folder.  
After it completes, open a new terminal window and you should find that 
python3.3 is now available.  You can also manually edit your 
.bash_profile or other relevant shell startup file:

PATH="/Library/Frameworks/Python.framework/Versions/3.3/bin:${PATH}"
export PATH

-- 
 Ned Deily,
 nad@acm.org

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web