Skip to content

Instantly share code, notes, and snippets.

@annawinkler
Last active December 4, 2018 18:58
Show Gist options
  • Save annawinkler/cb2cc68694526b597bc39bc3921cff8e to your computer and use it in GitHub Desktop.
Save annawinkler/cb2cc68694526b597bc39bc3921cff8e to your computer and use it in GitHub Desktop.
How to have python 3.6 and 3.7 on my mac coexist???

Try using brew for example if already using Python 3:

$ brew unlink python

Then install python 3.6.5:

$ brew install https://raw.githubusercontent.com/Homebrew/homebrew-core/f2a764ef944b1080be64bd88dca9a1d80130c558/Formula/python.rb

To get back to python 3.7.0 use:

$ brew switch python 3.7.0

And if need 3.6 again switch with:

$ brew switch python 3.6.5_1

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