python - Comment installer pip sur macOS ou OS X

Mots clés : pythonmacospipinstallationpython

meilleur 5 Réponses python - Comment installer pip sur macOS ou OS X

vote vote

92

easy_install pip 
sudo easy_install pip 
vote vote

85

curl https://bootstrap.pypa.io/pip/2.7/get-pip.py | python 
curl https://bootstrap.pypa.io/get-pip.py | python 
curl https://bootstrap.pypa.io/get-pip.py | python3 
sudo easy_install pip 
python --version 
sudo easy_install pip 
curl https://bootstrap.pypa.io/get-pip.py | python 
vote vote

77

sudo -H python -m ensurepip 
vote vote

62

brew install python 
vote vote

54

curl https://bootstrap.pypa.io/ez_setup.py -o - | sudo python 
sudo easy_install pip 
pip install regex   # This is only an example for installing other modules 

Questions similaires