Closed SuperSonicHub1 closed 1 year ago
Still having issues with this. Haven't been able to find good documentation surrounding compiling Python with Tkinter support. Help?
I'm also having the same problem with tkinter, I use asdf with Arch and WSL, I tried to find a solution but to no avail, so I ended up uninstalling asdf.
I just tried with 3.8.15 and it looks like it will compile with tk
support if the corresponding library is present on your system. For me, on fedora, that was tk-devel
.
So what worked for me was
$ asdf uninstall python 3.8.15
$ sudo dnf install tk-devel
$ asdf install python 3.8.15
Et voila, a python with tk (and thus tkinter) support.
Thanks!
After sudo dnf install tk-devel
and reinstalling, I got a new error: WARNING: The Python sqlite3 extension was not compiled. Missing the SQLite3 lib?
Running sudo dnf install sqlite-devel
, uninstalling and reinstalling fixed this in Fedora 38. (leaving this here in case it helps someone)
Hey folks, I am on Ubuntu, any idea why I would hit this issue? The proposes solutions doesn't apply to Debian
Edit: nevermind there is another issue for Ubuntu: https://github.com/asdf-community/asdf-python/issues/50
Trying to use Tkinter and got this:
How do I configure Tk?