I have installed the tkinter module. I have also imported the module.
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.
>> import tkinter # all fine
Full Sourcecode At here
If you are using Linux system, then ...READ MORE
You need to download and install the ...READ MORE
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
import speech_recognition ...READ MORE
use the dir() function for particular import ...READ MORE
You can also use the random library's ...READ MORE
colors = ['red', 'green', ...READ MORE
Enumerate() method adds a counter to an ...READ MORE
You can simply the built-in function in ...READ MORE
At least 1 upper-case and 1 lower-case letter
Minimum 8 characters and Maximum 50 characters
Already have an account? Sign in.