54645/python-error-importerror-no-module-named-tkinter
I have installed the tkinter module. I have also imported the module.
import tkinter
I get the following error:
ImportError: No module named 'tkinter'
Try installing it from the terminal with the following command:
sudo apt-get install python3-tk
Hope this helps!
If you need to know more about Python, join Python online course certification today.
Thanks!
Then,
>> import tkinter # all fine
Hi@Umama, If you are using Linux system, then ...READ MORE
You need to download and install the ...READ MORE
Hello, Open Cmd or Powershell as Admin. type pip ...READ MORE
Use the following command to install tkinter ...READ MORE
Hi @Hannah, replace import SpeechRecognition as sr with import speech_recognition ...READ MORE
use the dir() function for particular import ...READ MORE
You can also use the random library's ...READ MORE
Syntax : list. count(value) Code: colors = ['red', 'green', ...READ MORE
Enumerate() method adds a counter to an ...READ MORE
You can simply the built-in function in ...READ MORE
OR
At least 1 upper-case and 1 lower-case letter
Minimum 8 characters and Maximum 50 characters
Already have an account? Sign in.