I am trying to install python on Linux and I am getting the following error:
ImportError: No module named _tkinter, please install the python-tk package.
How do I install tkinter on Linux?
Use the following command to install tkinter on Linux:
apt-get install python-tk
It's a little complicated to install it on the local system using the package based method. Using apt-get is the easiest way.
If you are using Linux system, then ...READ MORE
If you successfully installed opencv in your ...READ MORE
You need to download and install the ...READ MORE
Hi @Vasgi, for the code you're trying ...READ MORE
You can also use the random library's ...READ MORE
colors = ['red', 'green', ...READ MORE
can you give an example using a ...READ MORE
You can simply the built-in function in ...READ MORE
sudo apt-get install python3-tk
>> import tkinter # ...READ MORE
Hi @Hannah, replace
import SpeechRecognition as sr
import speech_recognition ...READ MORE
Already have an account? Sign in.