brew install Python 默认是 Python 3 了

2018-03-02 14:38:57 +08:00
 maguowei
brew info python
python: stable 3.6.4 (bottled), devel 3.7.0b1, HEAD
Interpreted, interactive, object-oriented programming language
https://www.python.org/
/usr/local/Cellar/python/3.6.4_3 (64B)
  Built from source
From: https://github.com/Homebrew/homebrew-core/blob/master/Formula/python.rb

brew info python@2
python@2: stable 2.7.14 (bottled), HEAD [keg-only]
Interpreted, interactive, object-oriented programming language
https://www.python.org/
Not installed
From: https://github.com/Homebrew/homebrew-core/blob/master/Formula/python@2.rb

https://github.com/Homebrew/homebrew-core/commit/788b65e645bb342e82946b52173997cd00c322ac

python2 变成了 python@2 https://github.com/Homebrew/homebrew-core/commit/57cd0561a81fc6edc7155b9ff4760e0debddc777

1873 次点击
所在节点    分享发现
0 条回复

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/434269

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX