Τhis guide is about installing Python 3 on Windows 11 & Windows 10 operating system.
Python is a powerful and versatile programming language, and getting it set up on your Windows machine is essential for development. Here’s a straightforward guide:
Step 1. Check Your Current Python Version (if any)
1.1) Open a command-line application like “PowerShell” or “Command Prompt”.
1.2) Εxecute the following command:
python --version
If you see a version number (e.g., Python 3.12.2), you already have Python installed. Otherwise, proceed to the next step.
Step 2. Download python from the official website python.org
2.1) To download Python 3, go to the official website python.org.
2.2) Navigate to the main menu, click on “Downloads” and then click on “Download Python 3” button.
Always download the latest and greatest version.
Step 3. Install Python 3 on Windows
3.1) Go to your Downloads folder and run the installer. 3.2) When the installer appears for the first time, you must enable “Use admin privileges when installing py.exe” and “Add python.exe to PATH”. This is a very important step and you should never forget it. 3.3) Whenever you are ready click on “Customize installation”.
3.4) On Optional Features make sure that all features are selected and click “Next”.
3.5) On Advanced Options make sure that all options are selected and click “Install”.
3.6) The installation process will start immediately and will take from a few seconds to a few minutes depending on your computer’s capabilities.
3.7) When the process is complete click on “Disable path length limit” on the bottom of the installer and then click on “Close”.
Step 4. Restart your Computer
At this point you should restart your computer. There is no guarantee that Python will work without restarting Windows.
Step 5. Check if Python is installed correctly
Open Command Prompt or PowerShell and execute the following command:
python --version
If python is installed correctly, it should return something like this… Python 3.12.2