1.
pip install virtualenv
virtualenv testvir
cd testvir
cd Scripts
activate pip install django==1.9.
https://zhuanlan.zhihu.com/p/32286726 2.ipython
python
sudo pip install ipython
brew install python
python
which python
sudo pip install ipython
ipython
ipythonwhich ipython
which ipython
sudo pip install ipython
brew install ipython
ipython
brew tap homebrew/versions
brew search ipython@
brew uninstall ipython brew install ipython@
ipython
ls /usr/local/Cellar/ipython\@/5.5.0_2/bin/ipython
/usr/local/Cellar/ipython@/5.5.0_2/bin/ipython
于是尝试用easy_install 安装, sudo easy_install matplotlib
In []: %pylab
Using matplotlib backend: MacOSX
Populating the interactive namespace from numpy and matplotlib In []: a = linspace(, *pi, ) In []: b = sin(a) In []: %matplotlib osx In []: mask = b >= In []: plot(a[mask], b[mask], 'ro')
http://blog.csdn.net/iloveyin/article/details/51074388
https://www.jianshu.com/p/93acc1da95a7
https://*.com/questions/3987683/homebrew-install-specific-version-of-formula
http://nbviewer.jupyter.org/github/lijin-THU/notes-python/blob/master/01-python-tools/01.02-ipython-interpreter.ipynb