Le mardi 7 janvier 2020 10:15:08 UTC+1, [email protected] a écrit : > > On Mon, Jan 06, 2020 at 05:54:02PM -0800, 'Ricksme' via sage-support > wrote: > > I am about to build sage 9.0 on opensuse Leap 15.1 and notice that > import > > Tkinter works in python 2.7.14 but that import tkinter is required for > > python 3.6.9 (Leap 15.1 installation). The sage 9.0 installation guide > > specifies the (uppercase T) Tkinter which applies to python 2 in my > > installation but sage 9.0 is built with python 3. Is this going to be an > > issue and does someone know about this? > > That Tkinter -> tkinter change at py2 -> py3 could have been something > we overlooked, as probably noone involved in Sage releases has any idea > about tkinter. >
We should indeed adapt that section of the "install from source" page at https://doc.sagemath.org/html/en/installation/source.html I guess that to check support for Tk interface it's enough to try import _tkinter In Python 2, import Tkinter will import _tkinter. In Python 3, import tkinter will import _tkinter. -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-support/381ea0fa-eb98-4cd5-8d30-d533a91c2f60%40googlegroups.com.
