0、安装,启动
A: 安装
python3 -m pip install --upgrade pip
python3 -m pip install jupyter
B: 启动
cmd下执行jupyter notebook
1、jupyter notebook出现ImportError: cannot import name 'create_prompt_application'
pip install --upgrade prompt-toolkit==1.0.5
2、修改jupyter notebook的启动浏览器
输入jupyter notebook --generate-config,得到jupyter notebook的配置文件,然后在任意处加上下面代码
import webbrowser
webbrowser.register('chrome', None, webbrowser.GenericBrowser(r'C:\Users\your_users\AppData\Local\Google\Chrome\Application\chrome.exe'))
c.NotebookApp.browser = 'chrome'