1.下载安装 python_3.4.3
wget https://www.python.org/ftp/python/3.4.3/python-3.4.3-macosx10.6.pkg
2.安装virtualenv
pip install virtualenv
3.创建虚拟环境
virtualenv -p /usr/local/bin/python3.4 py34env
4.激活虚拟环境:
source py34env/bin/activate
5、在虚拟环境中启动ipython:
pip3 install jupyter
ipython3 notebook