In my previous article I showed you how to install Python3 in CentOS 7, now it is time to show you how to install Thonny IDE, a very usefull and lightweight IDE for Python developed at the University of Tartu, in Estonia. Thonny is better looking than IDLE and suited for learning programming in Python.

Provided that you already installed Python3 in your CentOS 7 machine, all you have to do is to issue the following commands to install Thonny:

First, to check if you have pip version 3 installed, you can do:

sudo pip --version
pip 9.0.1 from /usr/lib/python2.7/site-packages (python 2.7)


sudo pip3.6 --version
pip 9.0.1 from /usr/lib/python3.6/site-packages (python 3.6)

Do not try to check for pip3, because you will get an error as a result.

If you don’t have the results as I do, you should issue the following commands:

sudo yum install python36u-pip
sudo yum install rh-python36-python-wheel

Now, you should be able to install Thonny using the pip3.6 command, as follows:

sudo pip3.6 install thonny

To run Thonny, run the following command:

thonny &

That’s it. Happy coding!

thonny-centos The IDLE environment in CentOS7