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


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

Python 2.6 on Mac 10.7 doesn't work

Started byNaser Nikandish <n.nikandish@gmail.com>
First post2012-07-17 06:47 -0700
Last post2012-07-17 14:02 -0700
Articles 3 — 3 participants

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


Contents

  Python 2.6 on Mac 10.7 doesn't work Naser Nikandish <n.nikandish@gmail.com> - 2012-07-17 06:47 -0700
    Re: Python 2.6 on Mac 10.7 doesn't work Hans Mulder <hansmu@xs4all.nl> - 2012-07-17 18:27 +0200
      Re: Python 2.6 on Mac 10.7 doesn't work Ned Deily <nad@acm.org> - 2012-07-17 14:02 -0700

#25499 — Python 2.6 on Mac 10.7 doesn't work

FromNaser Nikandish <n.nikandish@gmail.com>
Date2012-07-17 06:47 -0700
SubjectPython 2.6 on Mac 10.7 doesn't work
Message-ID<3b73f4f4-dc36-4b16-a3c3-66b52ef95654@googlegroups.com>
Hi,

I am trying to install Python 2.6 on Mac OS Lion. Here is what I did:

1- Download Mac Installer disk image (2.6) (sig)   from     http://www.python.org/getit/releases/2.6/

2- Install it

3- Run Python Luncher, go to Python Luncher preferences, and change the interpreter to Library/Frameworks/Python.framework/Versions/2.6/bin/pythonw

Now that I want to open IDLE and open my old projects, it doesn't run! 
Is there anything that I am missing?

oh btw, I used to use Python 2.6.7 that comes preinstalled on Mac OS.

I really appreciate your help.

[toc] | [next] | [standalone]


#25509

FromHans Mulder <hansmu@xs4all.nl>
Date2012-07-17 18:27 +0200
Message-ID<5005927a$0$6949$e4fe514c@news2.news.xs4all.nl>
In reply to#25499
On 17/07/12 15:47:05, Naser Nikandish wrote:
> Hi,
> 
> I am trying to install Python 2.6 on Mac OS Lion. Here is what I did:
> 
> 1- Download Mac Installer disk image (2.6) (sig)   from
>    http://www.python.org/getit/releases/2.6/
> 
> 2- Install it
> 
> 3- Run Python Luncher, go to Python Luncher preferences, and change the
>    interpreter to Library/Frameworks/Python.framework/Versions/2.6/bin/pythonw
> 
> Now that I want to open IDLE and open my old projects, it doesn't run! 
> Is there anything that I am missing?

You may be missing a leading slash.  The path to pythonw is
/Library/Frameworks/Python.framework/Versions/2.6/bin/pythonw


> oh btw, I used to use Python 2.6.7 that comes preinstalled on Mac OS.

That could also be the problem.  You could try using the Python you've
downloaded in step 1.

> I really appreciate your help.

You could try opening /Applications/Utilities/Terminal.app and running:

/Library/Frameworks/Python.framework/Versions/2.6/bin/pyt\
hon /Applications/Python\ 2.6/IDLE.app/Contents/MacOS/IDLE

(you can type it one two lines, as shown, or as a single rather long
line, leaving out the backslash-newline).

That should run Idle, or, if it doesn't, it should give you a useful
error message.

Hope this helps,

-- HansM

[toc] | [prev] | [next] | [standalone]


#25539

FromNed Deily <nad@acm.org>
Date2012-07-17 14:02 -0700
Message-ID<mailman.2248.1342558938.4697.python-list@python.org>
In reply to#25509
In article <5005927a$0$6949$e4fe514c@news2.news.xs4all.nl>,
 Hans Mulder <hansmu@xs4all.nl> wrote:
> On 17/07/12 15:47:05, Naser Nikandish wrote:
> > I am trying to install Python 2.6 on Mac OS Lion. Here is what I did:
> > 
> > 1- Download Mac Installer disk image (2.6) (sig)   from
> >    http://www.python.org/getit/releases/2.6/
> > 
> > 2- Install it
> > 
> > 3- Run Python Luncher, go to Python Luncher preferences, and change the
> >    interpreter to 
> >    Library/Frameworks/Python.framework/Versions/2.6/bin/pythonw
> > 
> > Now that I want to open IDLE and open my old projects, it doesn't run! 
> > Is there anything that I am missing?
> 
> You may be missing a leading slash.  The path to pythonw is
> /Library/Frameworks/Python.framework/Versions/2.6/bin/pythonw

Also keep in mind that Python 2.6 has been moved to security-fix-only 
mode which, among other things, means that new binary installers for OS 
X are not being made.  The most recent OS X binary installer was 2.6.6.  
The system Python in OS X 10.7 Lion is 2.6.7.  There has been one 
additional security fix release for 2.6 (2.6.8) since then.  If you need 
Python 2, you really should consider moving to Python 2.7, which is 
already at 2.7.3 and is fully maintained.  (The most recent Python 3 
release is 3.2.3, also fully maintained.)

-- 
 Ned Deily,
 nad@acm.org

[toc] | [prev] | [standalone]


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


csiph-web