How to link home brew python version and set it as default

后端 未结 10 618
春和景丽
春和景丽 2020-12-07 15:57

I just switched from MacPorts to HomeBrew. After installing all the required XCode versions and other software I tried installing python using homebrew: I think it successfu

10条回答
  •  庸人自扰
    2020-12-07 16:27

    You can follow these steps.

    $ python3 --version  
    $ brew unlink python@2
    $ brew link python3   
    $ python3 --version   
    

提交回复
热议问题