Skip to content

Instantly share code, notes, and snippets.

@YF-Tung
Created January 30, 2019 10:26
Show Gist options
  • Save YF-Tung/796ebbbed863b4ff75e61d671ab53c19 to your computer and use it in GitHub Desktop.
Save YF-Tung/796ebbbed863b4ff75e61d671ab53c19 to your computer and use it in GitHub Desktop.
Roll back to python 3.6 on mac with homebrew
#!/bin/bash
brew unlink python
brew install https://raw.githubusercontent.com/Homebrew/homebrew-core/f2a764ef944b1080be64bd88dca9a1d80130c558/Formula/python.rb --ignore-dependencies
brew switch python 3.6.5_1
@YF-Tung
Copy link
Author

YF-Tung commented Jan 30, 2019

This script is primary for someone stuck with the tensorflow compatibility problem.

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