You can install the tkinter package using: sudo apt-get install python3-tk (safe to run on debian-derived distributions)
And import it this way: >>> import tkinter >>> tkinter.TkVersion 8.6 On Wed, Jan 20, 2021 at 6:29 PM David Bailey <d...@dbailey.co.uk> wrote: > Hi Group, > > I know this isn't strictly a SymPy question, but I suspect someone here > will be able to point me in the right direction. > > When I first acquired SymPy on my 64-bit Windows 10 machine, I downloaded > what was then the official version of Python - 3.7.3, and installed SymPy > and some other things upon it. Recently I wanted to install Tkinter, and I > got the following diagnostic: > > pip install tkinter > > Collecting tkinter > ERROR: Could not find a version that satisfies the requirement tkinter > (from versions: none) > ERROR: No matching distribution found for tkinter > > I really don't want to start from scratch installing Python, does anyone > know what this problem is all about? > > I've seen suggestions that tkinter is built into Python, but it seems not: > > import tkinter > Traceback (most recent call last): > File "<stdin>", line 1, in <module> > ModuleNotFoundError: No module named 'tkinter' > > David > > -- > You received this message because you are subscribed to the Google Groups > "sympy" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to sympy+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/sympy/4aaf17c9-88dd-33c9-d1c0-6b733b0d29e3%40dbailey.co.uk > <https://groups.google.com/d/msgid/sympy/4aaf17c9-88dd-33c9-d1c0-6b733b0d29e3%40dbailey.co.uk?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "sympy" group. To unsubscribe from this group and stop receiving emails from it, send an email to sympy+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/CALkUZDmDgh1c%2BYQh_G5rGY02dUNaFM5%2BUDEu0X0CX_L_mv-f1Q%40mail.gmail.com.