The Wayback Machine - https://web.archive.org/web/20180627202903/https://github.com/sashkab/homebrew-python
Skip to content
Ruby
Switch branches/tags
Nothing to show
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Formula
README.md

README.md

homebrew-python

This Homebrew tap provides formulae to install multiple [universal] Python versions. It currently provides Python 2.7.14, Python 3.3.6, Python 3.4.6, Python 3.5.3 and Python 3.6.2. For building universal (i.e i386/x86_64) formulae it uses sashkab/universal tap.

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  [--universal]
/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 3 for Python 3.3, 4 for Python 3.4, 5 for Python 3.5, or 6 for Python 3.6.

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

Acknowledgement

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

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.
Morty Proxy This is a proxified and sanitized view of the page, visit original site.