V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
maguowei
V2EX  ›  分享发现

brew install Python 默认是 Python 3 了

  •  
  •   maguowei · 2018-03-02 14:38:57 +08:00 · 1871 次点击
    这是一个创建于 2268 天前的主题,其中的信息可能已经有所发展或是发生改变。
    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/[email protected]
    

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

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

    目前尚无回复
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   1457 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 24ms · UTC 17:28 · PVG 01:28 · LAX 10:28 · JFK 13:28
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.