pip 的安装
fengdao at fengdao-2 in ~/Downloads
$ pip
-bash: pip: command not found
检查pip 安装在那个地方
$ which python
/usr/bin/python
1.运行
brew install python --universal --framework
2.
nstalling Pip
Pip allows you to manage and install Python packages. Run the following command in your terminal.
sudo easy_install pip
3.
Installing Virtualenv
Virtualenv allow you to have isolated Python environments for development. Run following command –
sudo pip install virtualenv
$ sudo pip install requests
http://www.tlswebsolutions.com/mac-os-x-lion-setting-up-django-pip-virtualenv-and-homebrew/
https://iainhunter.wordpress.com/2012/11/08/howto-install-python3-pip3-tornado-on-mac/