How can I use Homebrew to install both Python 2 and 3 on Mac?

后端 未结 9 801
遇见更好的自我
遇见更好的自我 2020-11-29 14:33

I need to be able to switch back and forth between Python 2 and 3. How do I do that using Homebrew as I don\'t want to mess with path and get into trouble. Right now I have

9条回答
  •  隐瞒了意图╮
    2020-11-29 14:54

    I thought I had the same requirement - to move between Python versions - but I achieved all I needed with only Python3.6 by building from source instead of using homebrew.

    git clone https://git.

    Depending on the repo, check if there is MAKE file already setup for this option.

提交回复
热议问题