小编Eri*_*sén的帖子

试图安装python3但终端一直显示为python 2.7.13

我在macOS Sierra上有2.7.13,我正在尝试升级到python3 via

brew install python3
Run Code Online (Sandbox Code Playgroud)

除了最后一部分,一切似乎都很顺利:

==> Installing python3 
==> Downloading https://homebrew.bintray.com/bottles/python3-3.6.1.sierra.bottle
######################################################################## 100.0%
==> Pouring python3-3.6.1.sierra.bottle.tar.gz
==> Using the sandbox
==> /usr/local/Cellar/python3/3.6.1/bin/python3 -s setup.py --no-user-cfg instal
==> /usr/local/Cellar/python3/3.6.1/bin/python3 -s setup.py --no-user-cfg instal
==> /usr/local/Cellar/python3/3.6.1/bin/python3 -s setup.py --no-user-cfg instal
==> Caveats
Pip, setuptools, and wheel have been installed. To update them
  pip3 install --upgrade pip setuptools wheel

You can install Python packages with
  pip3 install <package>

They will install into the site-package directory
  /usr/local/lib/python3.6/site-packages

See: http://docs.brew.sh/Homebrew-and-Python.html
==> Summary
  /usr/local/Cellar/python3/3.6.1: …
Run Code Online (Sandbox Code Playgroud)

python homebrew

2
推荐指数
1
解决办法
627
查看次数

标签 统计

homebrew ×1

python ×1