Skip to content

About

Homebrew tap for Python versions.

Resources

Stars

0 stars

Watchers

1 watching

Forks

 
 

Latest commit

 

History

204 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

homebrew-python

About this project

This Homebrew tap provides formulae to install multiple Python versions.

Python Version Latest revision
Python 2.7 2.7.16
Python 3.5 3.5.7
Python 3.6 3.6.8
Python 3.7 3.7.2

Universal support -- Deprecation notice

Due to Apple's removal of i386 SDK from the Command Line Tools for XCode 10 for macOS 10.13 (High Sierra) and not including it with the XCode 10 tools on 10.14 (Mojave), there is no way to compile and build universal binaries on macOS any longer.

This project's universal support is deprecated and no longer supported. Universal support has been removed in #29 in January 2019.

Installing formulae

brew install sashkab/python/pythonXY

Or

brew tap sashkab/python
brew install pythonXY

Python 2.7

Universal Python 2.7 will be installed into /usr/local/opt/python27, as a keg, i.e without linking into /usr/local/bin in order to avoid conflicts with the python formulae.

brew install sashkab/python/python27
/usr/local/opt/python27/bin/pip2.7 install -U pip setuptools

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

virtualenv -p /usr/local/opt/python27/bin/python2.7 <path to venv>

Python 3.X

Replace X in example below with either 5 for Python 3.5, 6 for Python 3.6, or 7 for Python 3.7.

brew install sashkab/python/python3X
pip3.X install -U pip setuptools

Acknowledgement

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

About

Homebrew tap for Python versions.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages