Skip to content

About

Homebrew tap for Python versions.

Resources

Stars

0 stars

Watchers

0 watching

Forks

 
 

Latest commit

 

History

433 Commits

Folders and files

Repository files navigation

homebrew-python

About this project

This Homebrew tap provides formulae to install multiple Python versions.

Python Version Latest revision
Python 3.7 3.7.17
Python 3.8 3.8.13

Installing formulae

Replace X in examples below with minor version of Python -- 7 for Python 3.7, or 8 for Python 3.8.

Python 3.X will be installed into Homebrew's prefix as a keg (for example, /opt/homebrew/opt/python@3.X on Apple Silicon), without linking into bin in order to avoid conflicts with the main Python formula.

brew install cherepavel/python/python@3.X

You can use it to create a virtual environment by passing full path to the Python executable:

$(brew --prefix python@3.X)/bin/python3.X -m venv <path to venv>

In order to update to latest version of pip, setuptools and wheel, use following command:

$(brew --prefix python@3.X)/bin/python3.X -m pip install -U pip setuptools wheel

Deprecations

Python 2.7

Python 2.7 has been removed from this repository in early January 2020 after it reached end-of-life. See #46 for details.

Python 3.6

Python 3.6 has been removed from this repository in March 2022 after it reached end-of-life.

Acknowledgement

This repository started as a fork of the zoidbergwill/homebrew-python.

About

Homebrew tap for Python versions.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages