Summary of what you are going to install:
Summary of the commands:
sudo apt update sudo apt install python3.6 sudo apt -y install python3-pip sudo pip3 install pymysql
Although you may use Windows or MAC OS as an operating system for your development computer, as a beginner it is recommended that you use a Linux-based distribution.
If you haven’t installed the OS read this article.
1) Update the repository (?)
sudo apt update
2) Install python (?)
In many linux distributions you may skip this step as python is already installed.
You can see which version you have installed with the following commands (it depends on the version, unfortunately):
$ python3 --version $ python --version $ python -V
Here is a sample code that installs python 3.6
sudo apt install python3.6
2) Install pip (?)
pip is a package management system used to install and manage software packages written in Python.
It is useful because you can install needed libraries with very simple commands.
You can install pip via the command:
sudo apt -y install python3-pip
3) Install pymysql
Once you have installed pip, you can install the related mysql library with the following command:
sudo pip3 install pymysql
Once you have setup the IDE, you could install additional software: