打开命令提示符(cmd),输入pip install jupyter -I
加上jupyter 的国内镜像
清华大学 https://pypi.tuna.tsinghua.edu.cn/simple/(我使用的)
中国科学技术大学http://pypi.mirrors.ustc.edu.cn/simple/
华中科技大学http://pypi.hustunique.com/simple/
阿里云 http://mirrors.aliyun.com/pypi/simple/
豆瓣 http://pypi.douban.com/simple/
在命令行窗口输入jupyter notebook,如果默认浏览器会打开Jupyter Notebook窗口,说明Jupyter Notebook安装成功。
可能会遇到这个问题(系统提示Microsoft C++缺失)
解决方法:我们可以直接安装MicrosoftC++ Build Tools,而不需要安装Visual Studio。
打开链接 Home - Visual Studio Subscriptions Portal,登录账号,点击进入下载页面。
在下载页面搜索build tools ,选择左边栏第二个,选中后格式改为DVD,再点击下载即可。
双击下载后的文件,它会自动安装。
安装完成后再实行步骤1、2、3即可。