Mac安装Jupyter Notebook

在命令行运行:

sudo easy_install jupyter

出现错误:

ImportError: No module named jupyter_client

尝试安装jupyter_client:

sudo easy_install jupyter_client

安装jupyter_client成功,回到原来的安装jupyter:

sudo easy_install jupyter

又出现了错误:

error: Could not find suitable distribution for Requirement.parse('entrypoints>=0.2.2')

尝试安装entrypoints:

sudo easy_install entrypoints

继续回到我们原来的安装jupyter中:

sudo easy_install jupyter

如果你看到:

Finished processing dependencies for jupyter

表示你已经安装成功。如果还是出现依赖包丢失的状况,那就依照我们上面的方法一步步进行安装。


最后,在命令行运行:

jupyter notebook

再把命令行里输出的url地址粘贴到你的浏览器中,即可开始你的Jupyter之旅啦!

你可能感兴趣的:(Mac安装Jupyter Notebook)