From 91c44424c1bd166d69651e754f06c5c6091c84a1 Mon Sep 17 00:00:00 2001 From: sgeu the coding cat <139828915+sgeuthecodingcat@users.noreply.github.com> Date: Mon, 22 Apr 2024 10:31:49 -0500 Subject: [PATCH] Fix-up tkinter error fix instruction in readme Added more Linux instructions (Fedora and Arch) along with Windows troubleshooting --- README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 8e091fee..7b63cd8d 100644 --- a/README.md +++ b/README.md @@ -81,9 +81,12 @@ git clone https://github.com/corpnewt/ProperTree * **When I try to run ProperTree, I get `[ModuleNotFoundError: No module name 'tkinter']`** - That is because the graphical interface library that ProperTree depends on isn't present or cannot be detected, you need to install `tkinter` from your package manager. + That is because the graphical interface library that ProperTree depends on isn't present or cannot be detected, you need to install `tkinter` from your package manager. If you get this error on Windows, run the Python installer again, select modify, and then check the option that installs the Python standard libraries To install it on Ubuntu (and Ubuntu-based distros), you can run `sudo apt-get install python3-tk -y` + To install it on Fedora, you can run `sudo dnf install python3-tkinter` (do NOT use the “tk” package!) + To install it on Arch (and Arch-based distros) you can run `sudo pacman -S tk` + * **ProperTree doesn't run because it doesn't have permissions, what gives?**