转自http://stackoverflow.com/questions/17271319/installing-pip-on-mac-os-x
看了自动化测试工具appium,针对ios,参考下面的文章《手把手教你appium_ios第一个例子》
http://www.tuicool.com/articles/MNfaIr
安装python环境
It's Easy (On Mac):
-
Install easy_install
curl https://bootstrap.pypa.io/ez_setup.py -o - | sudo python
-
Install pip
sudo easy_install pip
-
Now, you could install external modules. For example
pip install regex # This is only an example for installing other modules
-
pip install -U selenium