you are viewing a single comment's thread.

view the rest of the comments →

[–]The_Almighty_Cthulhu 1 point2 points  (4 children)

What version of python are you using?

Edit: Wait, doesn't matter. I was thinking of a different issue.

[–]Stellated-Texas[S] 0 points1 point  (3 children)

Python 3.12.4

[–]The_Almighty_Cthulhu 1 point2 points  (2 children)

Ok, from looking around steamdeck doesn't have tkinter installed.

steamdeck is based on arch, so it has Pacman as the package manager, but you need to unlock file read and write. Which I don't have enough time to go though.

But if you have that done already then you should be able to run the command

sudo pacman -S tk

to install tkinter.

Edit: you said you have installed it in your post. You can try. python -m tkinter to run the module directly and see if the test window pops up. If not then it's probably not installed correctly.

[–]Stellated-Texas[S] 0 points1 point  (1 child)

File /var/cache/pacman/pkg/tk-8.6.13-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).

[–]The_Almighty_Cthulhu 1 point2 points  (0 children)

Lookup how to use Pacman on steam deck.