Python Forum
Python 3.6.3, Tcl/Tk, and Mac, stability issues
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Python 3.6.3, Tcl/Tk, and Mac, stability issues
#1
Hi (new to this forum so I hope I am positing in the right section)

I have significant stability problems with python 3.6.3 on my MacBook Pro (MacOS Sierra, late 2016 with touch bar) and the problems appear as the python kernel freezing/time-outs, primarily when using matplotlib. Using Jupyter console is not possible really since it times-out often. I know this is not a very detailed problem description, but I have yet to see the patterns clearly. However, this is not my primary question, just the background and context.

My current theory is that this could be the issue described on https://www.python.org/download/mac/tcltk/. I have installed the Mac binary from python.org and then the recommended Tcl/Tk is ActiveTcl 8.5.18.0. However, on https://www.activestate.com/activetcl/downloads only version 8.6.6.8606 is available for download. As I understand it, the python.org build is linked against Tcl/Tk version 8.5 and I can't get it to use the new version of Tcl/Tk.

So, my questions that I hope someone has details for me are:
1. Is there a way around this (or am I doing something stupid) and get python to use Tcl/Tk version 8.6?
2. Is the Tcl/Tk issue a plausible reason for my stability issues with marplotlib? I have traditionally used the backend TkAgg.
3. Which is the preferred backend for matplotlib on Mac?

All the best,
Erik
Reply


Messages In This Thread
Python 3.6.3, Tcl/Tk, and Mac, stability issues - by ErikFrisk - Oct-18-2017, 09:09 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Incredible stability of Python code Gribouillis 1 700 Jun-25-2023, 10:14 PM
Last Post: Larz60+

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020