游.程 2013-06-24 08:44 采纳率: 0%
浏览 628

如何在 macOS 或 OS x 上安装 pip?

I spent most of the day yesterday searching for a clear answer for installing pip (package manager for Python). I can't find a good solution.

How do I install it?

转载于:https://stackoverflow.com/questions/17271319/how-do-i-install-pip-on-macos-or-os-x

  • 写回答

21条回答 默认 最新

  • larry*wei 2013-06-24 09:11
    关注

    You can install it through Homebrew on OS X. Why would you install Python with Homebrew?

    The version of Python that ships with OS X is great for learning but it’s not good for development. The version shipped with OS X may be out of date from the official current Python release, which is considered the stable production version. (source)

    Homebrew is something of a package manager for OS X. Find more details on the Homebrew page. Once Homebrew is installed, run the following to install the latest Python, Pip & Setuptools:

    brew install python
    
    评论

报告相同问题?