Python Installation - marios2019/MAI644-Computer-Vision-Fall-2023-2024 GitHub Wiki

Python is a versatile and widely-used programming language. Here's how to install Python on your system:

Windows

  1. Visit the Python official website.
  2. Download the latest Python installer for Windows (either the 32-bit or 64-bit version, depending on your system).
  3. Run the installer and follow the installation wizard.
  4. Make sure to check the box that says "Add Python x.y to PATH" during installation.

macOS

  1. Open the Terminal application.
  2. Type the following command to install Homebrew (a package manager for macOS):
    /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
    
  3. Once Homebrew is installed, you can install Python by running:
    brew install python
    

Linux

Python is often pre-installed on Linux distributions. You can check if Python is already installed by running python3 or python in the terminal. If not, you can use your distribution's package manager to install it.