Setting Up Your Development Environment
Installing Python Version 3.12.4
Linux
Open the terminal and run the following commands:
sudo apt install software-properties-common -y
sudo add-apt-repository ppa:deadsnakes/ppa
sudo apt update
sudo apt install python3.12 python3.12-dev
Check that Python 3.12.4 is installed correctly:
python3.12 --version
Now that Python is installed, install PIP:
curl -sS https://bootstrap.pypa.io/get-pip.py | python3.12
Check that PIP is installed correctly:
pip3.12 -V
Alternative: download Python from python.org, in this case PIP will be installed automatically.
Windows
Download Python from python.org.
Check that Python 3.12.4 is installed correctly by opening a Windows shell and running:
py
# or
python
Now download PIP:
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
Install PIP:
py.exe get-pip.py
# or
python.exe get-pip.py
Check that PIP is installed correctly:
py.exe -m pip help
# or
python.exe -m pip help
Note: You may need to modify the PATH environment variable to include the Python installation directory.
Installing PyCharm Community Edition
Linux
sudo snap install pycharm-community --classic
Windows
- Go to https://www.jetbrains.com/pycharm/download
- Scroll down until you reach the Community download
- The 32-bit version is recommended, as some Windows builds may be incompatible with the 64-bit version.