i install thonny using this procedural > cd /Downloads > bash thonny-2.0.3.sh. Note: Importing Tkinter as tk is not required but is good practice as it helps keep things consistent between version. Debian, Rasbian, Ubuntu, Mint and others: sudo apt install thonny Fedora: sudo dnf install thonny - Step 2. To check the Tkinter version, type the following commands in your Python REPL: You have successfully installed Tkinter, if the above command executes without an error. Or import Tkinter as tk # for Python 2.x version To verify if you have successfully installed Tkinter, open your Python console and type the following command: import tkinter as tk # for Python 3 version Thonny comes with Python 3.7 built in, so just one simple installer is needed and youre ready to learn programming. Linux distros with yum installer can install tkinter module using the command: , type thonny-black-format and click on Find package from PyPI.
INSTALL THONNY ON UBUNTU FOR MAC OS X
So if you install Python from the official binaries for Mac OS X or Windows platform, you are good to go with Tkinter.įor Debian versions of Linux you have to install it manually by using the following commands.
Once this is done, starting Thonny IDE is very simple. We have successfully installed the IDE in Linux. Ubuntu 21.10 Impish is released and all of its packages are tracked at /packagelogst. (This is for the case if you used pip3 for installation) thonny. However, if you have a minimal installation of Ubuntu that lacks any IDLE UI application, you can install it by following this method: Open the Ubuntu command line, The Terminal, either through the system Dash or the Ctrl+Alt+T. After the installation has completed, type Thonny in the terminal, and the following window will appear. Python is installed by default on all the latest Ubuntu releases and it also usually comes with the IDLE application. See the homepage for more information and screenshots. In Fedora distribution, use this command to install Thonny IDE: sudo dnf install thonny.
Tkinter comes pre-installed with the Python installer binaries for Mac OS X and the Windows platform. First, obviously, you need to install Raspberry Pi OS on a microSD card, for your Raspberry Pi board. There is a GUI for installing 3rd party packages and special mode for learning about references.