I am new to Ubuntu and Linux in general.
I created a dual boot OS on my laptop (Windows 10 and Ubuntu).
- Typing:
sudo apt-get install python3-tk
(or evenpython-tk
) didn't work. - Trying to install the
python3-dev
orpython-devel
(no luck). - Downloading Tcl and Tk to manually install.
In Windows 10 Bash Subsystem the Tk and Tcl are already included, so I thought Ubuntu already had it. But, I want to use my Ubuntu desktop to develop Python GUI apps.
So, how can I install the Tcl/Tk to be use in Python 3.5 for GUI development?
I loaded Python 3.5.2 fine but need the GUI modules enabled.
The code to test that Tk is working is:
- Type
python3
Type:
import tkinter tkinter._test()
Result: a GUI pop-up displaying
This is a Tcl/Tk version..