Open chrisjsewell opened 3 years ago
Ah so actually on Ubuntu it is defaulting to python3-tk
which installs for all python 3.6-3.8: https://stackoverflow.com/questions/59725147/install-tkinter-for-python-3-7-3-in-ubuntu-18-04
# dpkg-query -L python3-tk
/.
/usr
/usr/lib
/usr/lib/python3.6
/usr/lib/python3.6/lib-dynload
/usr/lib/python3.6/lib-dynload/_tkinter.cpython-36m-x86_64-linux-gnu.so
/usr/lib/python3.6/tkinter
/usr/lib/python3.6/tkinter/__init__.py
/usr/lib/python3.6/tkinter/__main__.py
/usr/lib/python3.6/tkinter/colorchooser.py
/usr/lib/python3.6/tkinter/commondialog.py
/usr/lib/python3.6/tkinter/constants.py
/usr/lib/python3.6/tkinter/dialog.py
/usr/lib/python3.6/tkinter/dnd.py
/usr/lib/python3.6/tkinter/filedialog.py
/usr/lib/python3.6/tkinter/font.py
/usr/lib/python3.6/tkinter/messagebox.py
/usr/lib/python3.6/tkinter/scrolledtext.py
/usr/lib/python3.6/tkinter/simpledialog.py
/usr/lib/python3.6/tkinter/tix.py
/usr/lib/python3.6/tkinter/ttk.py
/usr/lib/python3.7
/usr/lib/python3.7/lib-dynload
/usr/lib/python3.7/lib-dynload/_tkinter.cpython-37m-x86_64-linux-gnu.so
/usr/lib/python3.7/tkinter
/usr/lib/python3.7/tkinter/__init__.py
/usr/lib/python3.7/tkinter/__main__.py
/usr/lib/python3.7/tkinter/colorchooser.py
/usr/lib/python3.7/tkinter/commondialog.py
/usr/lib/python3.7/tkinter/constants.py
/usr/lib/python3.7/tkinter/dialog.py
/usr/lib/python3.7/tkinter/dnd.py
/usr/lib/python3.7/tkinter/filedialog.py
/usr/lib/python3.7/tkinter/font.py
/usr/lib/python3.7/tkinter/messagebox.py
/usr/lib/python3.7/tkinter/scrolledtext.py
/usr/lib/python3.7/tkinter/simpledialog.py
/usr/lib/python3.7/tkinter/tix.py
/usr/lib/python3.7/tkinter/ttk.py
/usr/lib/python3.8
/usr/lib/python3.8/lib-dynload
/usr/lib/python3.8/lib-dynload/_tkinter.cpython-38-x86_64-linux-gnu.so
/usr/lib/python3.8/tkinter
/usr/lib/python3.8/tkinter/__init__.py
/usr/lib/python3.8/tkinter/__main__.py
/usr/lib/python3.8/tkinter/colorchooser.py
/usr/lib/python3.8/tkinter/commondialog.py
/usr/lib/python3.8/tkinter/constants.py
/usr/lib/python3.8/tkinter/dialog.py
/usr/lib/python3.8/tkinter/dnd.py
/usr/lib/python3.8/tkinter/filedialog.py
/usr/lib/python3.8/tkinter/font.py
/usr/lib/python3.8/tkinter/messagebox.py
/usr/lib/python3.8/tkinter/scrolledtext.py
/usr/lib/python3.8/tkinter/simpledialog.py
/usr/lib/python3.8/tkinter/tix.py
/usr/lib/python3.8/tkinter/ttk.py
/usr/share
/usr/share/doc
/usr/share/doc/python3-tk
/usr/share/doc/python3-tk/README.Debian
/usr/share/doc/python3-tk/README.Tk
/usr/share/doc/python3-tk/changelog.Debian.gz
/usr/share/doc/python3-tk/copyright
/usr/share/lintian
/usr/share/lintian/overrides
/usr/share/lintian/overrides/python3-tk
for Ubunut, there is a
python3.x-tk
package available for 3.6-3.8 (via deadsnakes repo).However, this is not the case for base yum in redhat:
centos8:
fedora31:
Current;y I a'm "falling back" to just install
python3-tkinter
ifpython3x-tkinter
fails, but I don't know if that will actually work.Ideally we would also test that tkinter is working on all distributions. This is tricky though, because really you need a display: