Skip to content

Instantly share code, notes, and snippets.

@MichaelCurrin
Last active January 27, 2024 14:27
Show Gist options
  • Star 6 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MichaelCurrin/57caae30bd7b0991098e9804a9494c23 to your computer and use it in GitHub Desktop.
Save MichaelCurrin/57caae30bd7b0991098e9804a9494c23 to your computer and use it in GitHub Desktop.
How to install Python 3

How to install Python 3

Links:

How to install:

  • Debian/Ubuntu
    1. Install using apt-get.
      $ sudo apt-get update
      $ sudo apt-get install python3 python3-venv
    2. Recommended - install development extensions (C headers necessary for some packages) and pip (for installing packages globally).
      $ sudo apt-get install python3-dev python3-pip
  • macOS
    1. Install Brew.
    2. Install Python using Brew:
      $ brew install python3 virtualenv
    3. Make your the Brew executables bin directory is in your PATH variable.
  • Windows
    1. Download Python from the Windows Download page.
    2. Run the installer.
      • Be sure to check the box on to have Python added to your PATH if the installer offers such an option (it's normally off by default).

For more details, see this gist - Set up a Python 3 virtual environment.

@rdxhacker302
Copy link

Kdk bro

@reppo01
Copy link

reppo01 commented May 25, 2022

if u get missing files during download eeven when u have done everything right do some one know wath the problem could be?

@MichaelCurrin
Copy link
Author

@reppo01 which OS are you on? What tells you the files are missing? You can try a different version e.g. 3.8 older instead of 3.10 latest. And if you get an error message then search that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment