maguowei

brew install Python 默认是 Python 3 了

  •  
  •   maguowei · Mar 2, 2018 · 2230 views
    This topic created in 3108 days ago, the information mentioned may be changed or developed.
    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

    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   2051 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 33ms · UTC 16:13 · PVG 00:13 · LAX 09:13 · JFK 12:13
    ♥ Do have faith in what you're doing.