Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/sashkab/homebrew-python

Homebrew tap for Python versions.
https://github.com/sashkab/homebrew-python

homebrew macos python python2 python27 python3 python35 python36 python37 python38 ruby

Last synced: about 2 months ago
JSON representation

Homebrew tap for Python versions.

Awesome Lists containing this project

README

        

# homebrew-python

## About this project

This [Homebrew](http://brew.sh) tap provides formulae to install multiple Python versions.

Python Version | Latest revision
---------------|----------------
Python 3.7 | 3.7.13
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 `/usr/local/opt/[email protected]`, as a keg, i.e without linking into `/usr/local/bin` in order to avoid conflicts with the python formulae.

```bash
brew install sashkab/python/[email protected]
```

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

```bash
/usr/local/opt/[email protected]/bin/python3.X -mvenv
```

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

```bash
/usr/local/opt/[email protected]/bin/python3.X -mpip 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][1].

[1]: https://github.com/zoidbergwill/homebrew-python
[46]: https://github.com/sashkab/homebrew-python/issues/46