Installing Python3.6 alongside Python3.7 on Mac

六眼飞鱼酱① 提交于 2019-12-02 15:42:49
nbari

Try using brew for example if already using Python 3:

$ brew unlink python

Then install python 3.6.5:

$ brew install --ignore-dependencies 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
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!