Installing Python
Official instructions are available on the python wiki: https://wiki.python.org/moin/BeginnersGuide/Download
Installing Python
To install Python on your computer, follow these step-by-step instructions for your operating system:
Windows:
- Visit the official Python website at https://www.python.org/downloads/windows/.
 - Under the "Python Releases for Windows" section, click on the latest Python version (e.g., Python 3.9.5).
 - Scroll down to the "Files" section and download the appropriate installer for your system (32-bit or 64-bit).
 - Run the installer and make sure to check the option "Add Python to PATH" during the installation process.
 - Follow the installation wizard, choosing the default settings unless you have specific requirements.
 - Once the installation is complete, open the Command Prompt and type 
python --versionto verify that Python is installed correctly. (If your command prompt / terminal was already open, it will need to be restarted.) 
macOS:
- Visit the official Python website at https://www.python.org/downloads/mac-osx/.
 - Under the "Python Releases for Mac OS X" section, click on the latest Python version (e.g., Python 3.9.5).
 - Download the macOS installer package (e.g., python-3.9.5-macosx10.9.pkg).
 - Double-click the downloaded file to start the installation process.
 - Follow the installation wizard, choosing the default settings unless you have specific requirements.
 - Once the installation is complete, open the Terminal and type 
python3 --versionto verify that Python is installed correctly. 
Linux:
Python is often pre-installed on Linux systems. To check if Python is already installed and its version, open the terminal and type:
python --version
If Python is not installed, or you want to install a different version, follow these steps:
- Open the terminal.
 - Use the package manager specific to your Linux distribution to install Python. For example:
- For Ubuntu or Debian:
sudo apt-get update
sudo apt-get install python3 - For Fedora or Red Hat:
sudo dnf install python3 
 - For Ubuntu or Debian:
 - Once the installation is complete, type 
python3 --versionin the terminal to verify that Python is installed correctly. 
Additional Steps (Optional):
- If you want to install multiple versions of Python or create isolated environments, you can use tools like 
pyenvorconda. We will look deeper into this further on. - Pip usually comes pre-installed, if it isn't, then install it by running 
python -m ensurepip --default-pip.