Tk/Tcl problem on mac - how do I install the fix into anaconda 2.1.0

0 views
Skip to first unread message

gordonm...@gmail.com

unread,
Mar 15, 2015, 12:37:45 AM3/15/15
to anac...@continuum.io
There is a major problem with Mac Tk/Tcl which has a fix - https://www.python.org/download/mac/tcltk/

It requires an updated version of Tcl to 8.5.17

How do I install this into my anaconda 2.1.0 environment?  (conda update tcl does not work - it doesn't recognize tcl...)

Ilan Schnell

unread,
Mar 15, 2015, 10:55:56 AM3/15/15
to Anaconda
In the official Anaconda repository the latest version on Tk/Tcl is 8.5.15.  Since this seems to be a critical problem, I will update Tk/Tcl to 8.5.17 in the next days, and make sure this becomes part of the new Anaconda 2.2 release.  I'll let you once new Tk/Tcl packages are available.
Thanks for providing this important information.

- Ilan

--
Anaconda Community Support Group Brought to you by Continuum Analytics
---
You received this message because you are subscribed to the Google Groups "Anaconda - Public" group.
To unsubscribe from this group and stop receiving emails from it, send an email to anaconda+u...@continuum.io.
To post to this group, send email to anac...@continuum.io.
Visit this group at http://groups.google.com/a/continuum.io/group/anaconda/.

Ilan Schnell

unread,
Mar 16, 2015, 1:46:02 PM3/16/15
to Anaconda
Tcl/Tk 8.5.18 is now available.  Can you try:
$ conda update tk

And see if this fixes your problem.

Thanks   Ilan

Gordon Myers

unread,
Mar 17, 2015, 2:03:07 AM3/17/15
to anac...@continuum.io
This does cure the problem.

But I now get a console message -

2015-03-16 22:35:26.910 python[3873:146004] setCanCycle: is deprecated.  Please use setCollectionBehavior instead

but it does not seem to affect operation.  The message does not link back to a source line in the program.


Thanks!


Gordon

jradav...@gmail.com

unread,
Mar 26, 2015, 8:39:18 PM3/26/15
to anac...@continuum.io
I'm seeing variations on the same console message now ... a lot .... with everything updated I can think of. Inlcuding Tcl/Tk 8.5.18 (on OS X 10.10.1)

e.g.: 
2015-03-26 17:32:24.185 python[28851:1790862] setCanCycle: is deprecated.  Please use setCollectionBehavior instead


Not a show-stopper at the moment, but obnoxious. 

Any thoughts? The Googles only turn up these errors circa 2011 under OS X 10.6...

michael.a...@gmail.com

unread,
May 14, 2015, 1:02:18 PM5/14/15
to anac...@continuum.io
Hi,

I'm getting the setCanCycle: is deprecated.  Please use setCollectionBehavior instead console message as well.

Is there any news regarding this?

Thx
Mike

gr.gianl...@gmail.com

unread,
May 23, 2015, 6:08:50 PM5/23/15
to anac...@continuum.io
I have the same issue.

echf...@gmail.com

unread,
May 26, 2015, 6:23:45 PM5/26/15
to anac...@continuum.io, gr.gianl...@gmail.com
Hi All; 

I'm having the same issue: 

2015-05-26 15:21:20.102 python[2809:183665] setCanCycle: is deprecated.  Please use setCollectionBehavior instead


Any ideas how to change this?

Thanks!
Esteban 

Nathan Goldbaum

unread,
May 26, 2015, 7:10:16 PM5/26/15
to anaconda, gr.gianl...@gmail.com
I believe this is happening because Continuum is building python on OSX 10.5:


--

r...@uw.edu

unread,
Aug 16, 2015, 1:10:36 PM8/16/15
to Anaconda - Public
I'm still seeing this with Anaconda 2.3.0 (?) updated Aug. 15, 2015.

 - Randy

semye...@gmail.com

unread,
Aug 16, 2015, 5:47:41 PM8/16/15
to Anaconda - Public, r...@uw.edu
I am also having the same issue with the latest conda update.
conda version 3.16.0, tk version 8.5.18

It might be harmless, but is annoying..

astro...@gmail.com

unread,
Aug 30, 2015, 8:21:59 PM8/30/15
to Anaconda - Public
Same problem here... Every time I open a matplotlib plot window and hover my mouse over any of the buttons on the bottom it gives me this error:

2015-08-30 17:18:24.341 python[34582:707] setCanCycle: is deprecated.  Please use setCollectionBehavior instead

Running on OS X 10.8.5, and conda version 3.16.0. Checked the version of tk (using `conda list`) and it is 8.5.18. My version of matplotlib is 1.3.1.

Please let us know once there is a fix. It's very annoying (although doesn't really crash anything). Thanks a lot!!

On Saturday, March 14, 2015 at 9:37:45 PM UTC-7, Gordon Myers wrote:

lucask...@gmail.com

unread,
Sep 27, 2015, 8:37:20 PM9/27/15
to Anaconda - Public, astro...@gmail.com
I met the same problem. I use tk 8.5.18, conda 3.17.0, my pathon is Python 2.7.10 :: Anaconda 2.2.0 (x86_64)

errors:

2015-09-28 02:35:30.543 python[2631:195710] setCanCycle: is deprecated.  Please use setCollectionBehavior instead

Exception in Tkinter callback

Traceback (most recent call last):

  File "/Users/qiwang/anaconda/lib/python2.7/lib-tk/Tkinter.py", line 1536, in __call__



在 2015年8月31日星期一 UTC+2上午2:21:59,astro...@gmail.com写道:

mat...@csail.mit.edu

unread,
Oct 21, 2015, 9:53:33 AM10/21/15
to Anaconda - Public, astro...@gmail.com, lucask...@gmail.com
This warning is extremely annoying. Can Continuum do anything about it?

mat...@csail.mit.edu

unread,
Oct 21, 2015, 10:14:49 AM10/21/15
to Anaconda - Public, astro...@gmail.com, lucask...@gmail.com, mat...@csail.mit.edu
For anyone else annoyed by this problem, here's a stupid but workable fix.

I usually run ipython interactively in the terminal, and I have 'pl' aliased to 'ipython --pylab'. In bash I replaced that alias with

alias pl='{ ipython --pylab 2>&1 1>&3 | grep -v setCanCycle 1>&2; } 3>&1'

That runs 'ipython --pylab' like before but filters out from stderr all the lines including the string 'setCanCycle'.

irinaly...@gmail.com

unread,
Nov 24, 2015, 4:52:47 PM11/24/15
to Anaconda - Public, astro...@gmail.com, lucask...@gmail.com, mat...@csail.mit.edu
I am having the same issue. Do you think someone could report this bug to the Anaconda team (I am a beginner and it would be too difficult for me to describe the issue well enough)? 

neilcr...@gmail.com

unread,
Nov 24, 2015, 9:47:04 PM11/24/15
to Anaconda - Public, astro...@gmail.com, lucask...@gmail.com, mat...@csail.mit.edu, irinaly...@gmail.com
I'm also having this problem. It would be great if it could be fixed.

ida...@taboola.com

unread,
Dec 29, 2015, 7:02:53 AM12/29/15
to Anaconda - Public, astro...@gmail.com, lucask...@gmail.com, mat...@csail.mit.edu, irinaly...@gmail.com, neilcr...@gmail.com
Hey,
Any news with this issue?

mazer...@gmail.com

unread,
Jan 27, 2016, 10:01:44 AM1/27/16
to Anaconda - Public, astro...@gmail.com, lucask...@gmail.com, mat...@csail.mit.edu, irinaly...@gmail.com, neilcr...@gmail.com, ida...@taboola.com
Hi,

Working the same thing-- I'm also seeing this -- fresh 64bit OSX anaconda2 install (2.7) on a totally up-to-date El Capitan install. Anacona was downloaded and installed yesterday.

Perhaps related is this error I'm also seeing:

/Users/mazer/anaconda2/lib/libtk8.5.dylib and /System/Library/Frameworks/Tk.framework/Versions/8.5/Tk. One of the two will be used. Which one is undefined.
objc[68494]: Class TKMenu is implemented in both /Users/mazer/anaconda2/lib/libtk8.5.dylib and /System/Library/Frameworks/Tk.framework/Versions/8.5/Tk. One of the two will be used. Which one is undefined.
objc[68494]: Class TKContentView is implemented in both /Users/mazer/anaconda2/lib/libtk8.5.dylib and /System/Library/Frameworks/Tk.framework/Versions/8.5/Tk. One of the two will be used. Which one is undefined.
objc[68494]: Class TKWindow is implemented in both /Users/mazer/anaconda2/lib/libtk8.5.dylib and /System/Library/Frameworks/Tk.framework/Versions/8.5/Tk. One of the two will be used. Which one is undefined.

Which appears to be some sort of conflict between the system version of Tk and the binary libs anaconda install.  It doesn't happen with all Tkinter apps, just some..

Anybody seen this? Googling revealed a couple unanswer responses about this and some suggestions to move or delete the Frameworks version, which i can't do..

Thanks,
Jamie

Christophe Bal

unread,
Feb 16, 2016, 4:43:04 AM2/16/16
to Anaconda - Public, astro...@gmail.com, lucask...@gmail.com, mat...@csail.mit.edu, irinaly...@gmail.com, neilcr...@gmail.com, ida...@taboola.com, mazer...@gmail.com
I am facing the same problem !

missp...@gmail.com

unread,
Jun 13, 2016, 8:01:18 PM6/13/16
to Anaconda - Public, astro...@gmail.com, lucask...@gmail.com, mat...@csail.mit.edu, irinaly...@gmail.com, neilcr...@gmail.com, ida...@taboola.com, mazer...@gmail.com
any news on it?

Ivan Craig

unread,
Jun 22, 2016, 12:35:22 AM6/22/16
to anac...@continuum.io
I have had similar problems opening idle. I get this error from Terminal in Yosemite. Please see attachment. I have not found a solution to this error. Please help.

Thank you, Ivan.

--
Anaconda Community Support Group Brought to you by Continuum Analytics
---
You received this message because you are subscribed to the Google Groups "Anaconda - Public" group.
To unsubscribe from this group and stop receiving emails from it, send an email to anaconda+u...@continuum.io.
To post to this group, send email to anac...@continuum.io.
Screen Shot 2016-06-21 at 11.54.04 AM.png

ngb...@gmail.com

unread,
Aug 31, 2016, 6:36:06 AM8/31/16
to Anaconda - Public
A fix that worked for me was to downgrade the Tk libraries from the anaconda installation:

conda install tk=8.5.13 

(the current is 8.5.18 which seems to conflict with the native system's)

This also downgrades python from 2.7.12 to 2.7.11, but hey, it works ;^)

N
Reply all
Reply to author
Forward
0 new messages