Setting up Python with PyCharm IDE Installation of Python and PyCharm
11 February 2025

Installation of Python and PyCharm
Step 1 : Install Python
Python is an essential programming language widely used for development, auto,ation, and data science. Follow these steps to install it:
For Windows:
1. Download Python
- Visit the official Python website:
https://www.python.org/downloads/
2. Run the Installer
- Open the download .exe file.
- Check the box "Add Python to PATH" before proceeding.
- Click Install Now and wait for the installation to complete.
3. Verify Installation
- Open Command Prompt (cmd) and type:
python - - version
- if installed correctly, it will display the Python version.
For macOS:
1. Open Terminal and type:
braw install python
(Ensure Homebrew is installed beforehand.)
2. Varify by running:
python3 - - version
For Linux (Ubuntu/Debian-based):
1. Open Terminal and run:
sudo apt update
sudo apt install python3
2. Confirm installation with:
python - - version
Step 2: Install PyCharm
PyCharm is a popular IDE for Python development. Follow these steps to install it:
For Windows & macOS:
1. Download PyCharm
Visit JetBrains PyCharm.
Choose Community Edition (free) or Professional Edition (paid).
2. Install PyCharm
Run the installer and follow the on-screen instructions.
Select appropiate installation options, such as desktop shortcuts and file associations.
3. Launch PyCharm
Open PyCharm and set up your first Python project.
For Linux :
1. Open Terminaland run :
sudo snap install pycharm-community - -classic
(For the professional version, replace pycharm-community with pycharm-professional)
Final Steps: Configure PyCharm with Python
1. Open PyCharm and go to File - Setting - Project: Interpreter.
2. Click Add Interpreter and select System Interpreter.
3. Browse to your installed Python path (e.g., c:\Python39\python.exe).
4. Click Apply & OK.
You're now ready to start coding in Python with PyCharm!