Installing pip on macOS Sierra

前端 未结 7 1122
执念已碎
执念已碎 2021-01-31 20:11

I\'ve been trying to install pip on macOS sierra via brew, but every time it completes without installing the binaries in /usr/local/Cellar/python/2.7.13/bin.

7条回答
  •  谎友^
    谎友^ (楼主)
    2021-01-31 20:41

    For Mac OS Sierra, cannot install pip via easy_install since there is a problem with TLS Version, Installed Open-SSL version won't support TLS 1.2

    So install pip using curl as follows,

    curl https://bootstrap.pypa.io/get-pip.py | sudo python
    

提交回复
热议问题