Ask Your Question

can't install tkinter on fedora 27

asked 2018-07-18 14:49:24 -0500

frankwood gravatar image

I have python 3.6.5 installed. Don't have tkinter module. Tried (dnf install python3-tk) . I get traceback error "/bin/dnf 'line 57' no module named dnf". I get the same thing when I try yum.

edit retag flag offensive close merge delete

3 Answers

Sort by ยป oldest newest most voted

answered 2018-11-17 21:33:40 -0500

carlwgeorge gravatar image

Normally you would be able to install tkinter by running dnf install python3-tkinter. However, if running dnf gives you traceback errors, I'm guessing you probably have a broken system python. You'll need to fix that first.

edit flag offensive delete link more

answered 2018-07-18 15:56:26 -0500

florian gravatar image

updated 2018-07-18 15:57:38 -0500

The reason why you can't easily install it using dnf is because he package isn't being built for Fedora.

You can get it from or or using

pip install qrcode[pil]

edit flag offensive delete link more

Comments does not look like the tkinter python module based on tcl/tk.

The real python3-tkinter is available in the repository:

python3-tkinter.x86_64                   3.6.5-1.fc28                    fedora
villykruse gravatar imagevillykruse ( 2018-07-19 02:30:46 -0500 )edit

Question Tools


Asked: 2018-07-18 14:49:24 -0500

Seen: 2,665 times

Last updated: Nov 17 '18