I think David is using Windows so that apt-get command which is for Debian Linux can not be used.
David I thought that the standard Python installers for Windows would mean that you had tkinter installed. I don't think you can install it with pip because it's basically part of Python (so not really a "separate" package). There are many different ways of installing Python though so it might depend on exactly which installer you used. I would generally use the installer files from here: https://www.python.org/downloads/ Oscar On Wed, 20 Jan 2021 at 13:36, Naman Nimmo <namanger...@gmail.com> wrote: > > > 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. > > -- > 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. -- 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/CAHVvXxTLBAwn6pvk2FU8kxg8x%2BGtLH%3DCtFZ0v435mhS0YT-XEg%40mail.gmail.com.