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


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

Re: Python 3.3.2 Shell Message

Started byNed Deily <nad@acm.org>
First post2013-11-07 10:22 -0800
Last post2013-12-30 20:26 -0800
Articles 8 — 3 participants

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: Python 3.3.2 Shell Message Ned Deily <nad@acm.org> - 2013-11-07 10:22 -0800
    Re: Python 3.3.2 Shell Message stanward@gmail.com - 2013-12-29 11:38 -0800
      Re: Python 3.3.2 Shell Message stanward@gmail.com - 2013-12-29 12:56 -0800
        Re: Python 3.3.2 Shell Message stanward@gmail.com - 2013-12-29 14:18 -0800
          Re: Python 3.3.2 Shell Message Stan Ward <stanward@gmail.com> - 2013-12-29 20:25 -0800
      Re: Python 3.3.2 Shell Message stanward@gmail.com - 2013-12-29 14:09 -0800
      Re: Python 3.3.2 Shell Message Ned Deily <nad@acm.org> - 2013-12-29 22:32 -0800
        Re: Python 3.3.2 Shell Message Stan Ward <stanward@gmail.com> - 2013-12-30 20:26 -0800

#58685 — Re: Python 3.3.2 Shell Message

FromNed Deily <nad@acm.org>
Date2013-11-07 10:22 -0800
SubjectRe: Python 3.3.2 Shell Message
Message-ID<mailman.2147.1383848560.18130.python-list@python.org>
In article <BLU170-W5070CFBBC32E1420E468B5ABF30@phx.gbl>,
 Bart Montgomery <longfayeu@hotmail.com> wrote:
> 

















I just starting out and am using the Python For Kids book. 
> I have an 2.4 GHz Intel Core 2 Duo iMac running OS X 10.6.8,
and I¹m getting 
> this message when I open IDLE: 

 

Warning: The version of Tcl/Tk (8.5.7) in 
> use may be
unstable. Visit http://www.python.org/download/mac/tcltk/ for 
> current
information. 

 

Not sure how to proceed. 

 

 





               

It is telling you that the Tcl/Tk on OS X 10.6 is buggy when used with IDLE.  
Go to ActiveState's web site and download their latest 8.5 installer for OS X 
and install it on your machine.  Restart IDLE and the message should no longer 
appear and your experience with IDLE should be much better.

http://www.activestate.com/activetcl/downloads

-- 
 Ned Deily,
 nad@acm.org

[toc] | [next] | [standalone]


#62863

Fromstanward@gmail.com
Date2013-12-29 11:38 -0800
Message-ID<78312fc7-adf1-4324-82f3-c53a4622b216@googlegroups.com>
In reply to#58685
Hi Ned,

I am running into the same problem described by Bart.  I am teaching my kids to program using the Python For Kids book on a Mac OSX 10.8.5.


I have installed "Mac OS X 64-bit/32-bit Installer (3.3.3) for Mac OS X 10.6 and later" (file: python-3.3.3-macosx10.6.dmg) and installed the "ActiveTcl 8.6.1 for Mac OS X (10.5+, x86_64/x86)" (file: ActiveTcl8.6.1.1.297588-macosx10.5-i386-x86_64-threaded), but IDLE keeps showing the message "WARNING: The version of Tcl/Tk (8.5.9) in use may be unstable. Visit http://www.python.org/download/mac/tcltk/ for current information."

Per your instructions in the thread http://code.activestate.com/lists/python-dev/117314/ I have inspected the IDLE process using Activity Monitor and the Tcl/Tk processes being used are:
/System/Library/Frameworks/Tcl.framework/Versions/8.5/Tcl
/System/Library/Frameworks/Tk.framework/Versions/8.5/Tk

Is there a PATH setting or something I can use to force the use of the ActiveTcl Tcl/Tk located in:
/Library/Frameworks/Tcl.framework/Versions/8.5/Tcl and
/Library/Frameworks/Tk.framework/Versions/8.5/Tk

I have tried a bunch of different things all to no avail, so I am now reaching for help.  I have UNIX experience and a CS degree, although very rusty, so have at with any technical instructions.  Thank you very much!!!

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


#62865

Fromstanward@gmail.com
Date2013-12-29 12:56 -0800
Message-ID<c2ff1185-fa38-4609-b9d3-ba512241c141@googlegroups.com>
In reply to#62863
> Is there a PATH setting or something I can use to force the use of the ActiveTcl Tcl/Tk located in: 
> /Library/Frameworks/Tcl.framework/Versions/8.5/Tcl and 
> /Library/Frameworks/Tk.framework/Versions/8.5/Tk

Correction.  The ActiveTcl /Library directions are:

/Library/Frameworks/Tcl.framework/Versions/8.6
/Library/Frameworks/Tcl.framework/Versions/8.6

Note also that symbolic links were created by something (assume the install script) from:

/Library/Frameworks/Tcl.framework/Versions/Current to
/Library/Frameworks/Tcl.framework/Versions/8.6 to

and 

/Library/Frameworks/Tk.framework/Versions/Current to
/Library/Frameworks/Tk.framework/Versions/8.6

Also, the IDLE message I am getting (which is slightly different than Bart's) is: "WARNING: The version of Tcl/Tk (8.5.9) in use may be unstable."  I assume this is referring to the Apple system version of Tcl/Tk.

Maybe there is symbolic link I need to set-up...

By the way, I have tried to address with setting to PATH in .bash_profile, having /usr/local/bin first in the path.  This has created a situation of running the correct version of tclsh from bash, but it does not solve the problem for IDLE, even if putting a specific call to . .bash_profile from the Automator script which starts IDLE.

Actively working on this... may try to create a symbolic link from /System/Library/Frameworks/Tcl.framework/Versions/Current to /Library/Frameworks/Tcl.framework/Versions/Current

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


#62870

Fromstanward@gmail.com
Date2013-12-29 14:18 -0800
Message-ID<aa02461f-2ac3-447a-8851-8367dfe21db1@googlegroups.com>
In reply to#62865
> Actively working on this... may try to create a symbolic link from 
> /System/Library/Frameworks/Tcl.framework/Versions/Current to 
> /Library/Frameworks/Tcl.framework/Versions/Current

Symbolic link (ln -s) does not seem to have worked either.  Grrrr.

Tried

/System/Library/Frameworks/Tcl.framework/Versions, did
ln -s /Library/Frameworks/Tcl.framework/Versions/8.6 Current

and

/System/Library/Frameworks/Tk.framework/Versions, did
ln -s /Library/Frameworks/Tk.framework/Versions/8.6 Current

Also tried

/System/Library/Frameworks/Tcl.framework/Versions, did
ln -s /Library/Frameworks/Tcl.framework/Versions/Current Current

and

/System/Library/Frameworks/Tk.framework/Versions, did
ln -s /Library/Frameworks/Tk.framework/Versions/Current Current
such as /System/Library/Frameworks/Tcl.framework/Versions/Current to /Library/Frameworks/Tcl.framework/Versions/8.6 (instead of Current).

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


#62875

FromStan Ward <stanward@gmail.com>
Date2013-12-29 20:25 -0800
Message-ID<cf43fba5-47de-4bf6-8225-1373aa687a13@googlegroups.com>
In reply to#62870
On Sunday, December 29, 2013 5:18:18 PM UTC-5, Stan Ward wrote:

Note: I do not get the "WARNING: The version of Tcl/Tk (8.5.9) in use may be unstable." message when I run python directly from bash (Mac "Terminal"), but I do get it in the IDLE.app Shell Window, run as follows, based on the recommendation in Python for Kids, with the addition of the .bash_profile call to to try to ensure paths.

. .bash_profile
open -a "//Applications/Python 3.3/IDLE.app" --args -n

Sorry about all this newbie questions/info.

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


#62869

Fromstanward@gmail.com
Date2013-12-29 14:09 -0800
Message-ID<9628c3cb-f0f1-4089-8c9a-fa9b32e50432@googlegroups.com>
In reply to#62863
> Is there a PATH setting or something I can use to force the use of the ActiveTcl Tcl/Tk located in: 
> /Library/Frameworks/Tcl.framework/Versions/8.5/Tcl and 
> /Library/Frameworks/Tk.framework/Versions/8.5/Tk

Correction.  The ActiveTcl /Library directions are:

/Library/Frameworks/Tcl.framework/Versions/8.6
/Library/Frameworks/Tk.framework/Versions/8.6

Note also that symbolic links were created by something (assume the install script) from:

/Library/Frameworks/Tcl.framework/Versions/Current to
/Library/Frameworks/Tcl.framework/Versions/8.6 to

and 

/Library/Frameworks/Tk.framework/Versions/Current to
/Library/Frameworks/Tk.framework/Versions/8.6

Also, the IDLE message I am getting (which is slightly different than Bart's) is: "WARNING: The version of Tcl/Tk (8.5.9) in use may be unstable."  I assume this is referring to the Apple system version of Tcl/Tk.

Maybe there is symbolic link I need to set-up...

By the way, I have tried to address with setting to PATH in .bash_profile, having /usr/local/bin first in the path.  This has created a situation of running the correct version of tclsh from bash, but it does not solve the problem for IDLE, even if putting a specific call to . .bash_profile from the Automator script which starts IDLE.

Actively working on this...May try to create a symbolic link from /System/Library/Frameworks/Tcl.framework/Versions/Current to /Library/Frameworks/Tcl.framework/Versions/Current

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


#62877

FromNed Deily <nad@acm.org>
Date2013-12-29 22:32 -0800
Message-ID<mailman.4712.1388385153.18130.python-list@python.org>
In reply to#62863
In article <78312fc7-adf1-4324-82f3-c53a4622b216@googlegroups.com>,
 stanward@gmail.com wrote:
> I have installed "Mac OS X 64-bit/32-bit Installer (3.3.3) for Mac OS X 10.6 
> and later" (file: python-3.3.3-macosx10.6.dmg) and installed the "ActiveTcl 
> 8.6.1 for Mac OS X (10.5+, x86_64/x86)" (file: 
> ActiveTcl8.6.1.1.297588-macosx10.5-i386-x86_64-threaded), but IDLE keeps 
> showing the message "WARNING: The version of Tcl/Tk (8.5.9) in use may be 
> unstable. Visit http://www.python.org/download/mac/tcltk/ for current 
> information."

You need to install ActiveTcl 8.5 for OS X, currently 8.5.15.0. It's 
further down on the ActiveTcl download page 
(http://www.activestate.com/activetcl/downloads).  Installing 8.6.1 does 
not help (it doesn't hurt, either, so you don't need to worry about 
removing it).

-- 
 Ned Deily,
 nad@acm.org

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


#62913

FromStan Ward <stanward@gmail.com>
Date2013-12-30 20:26 -0800
Message-ID<2e4f978c-2077-4ce1-9579-53e26c4ce834@googlegroups.com>
In reply to#62877
Thanks Ned.  That did the trick!  Jason Briggs, author of Python of Kids, gave me the same answer.  Happy to be over this hurdle.  Thanks!  Happy New Year!!

[toc] | [prev] | [standalone]


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


csiph-web