基础服务系列Mac安装Python3

编程

安装步骤

search

brew search python3

==> Formulae

boost-python3 python3 ✔ python@3 ✔ python@3.8

If you meant "python3" specifically:

It was migrated from homebrew/cask to homebrew/core.

Install

brew install python3

bash_profile

vi ~/.bash_profile

alias python="/usr/local/bin/python3"

source ~/.bash_profile

查看版本

python

Python 3.7.6 (default, Apr  2 2020, 12:41:48) 

[Clang 11.0.0 (clang-1100.0.33.17)] on darwin

Type "help", "copyright", "credits" or "license" for more information.

以上是 基础服务系列Mac安装Python3 的全部内容, 来源链接: utcz.com/z/515983.html

回到顶部