python3.6版本版本,在pip install jupyter notebook
后,启动jupyter时,报No module named 'markupsafe._compat'
错误。
google一番后,在git base中运行pip uninstall markupsafe
卸载markupsafe模块,再在git base中输入pip install markupsafe
,成功安装后再打开powershell,输入jupyter notebook
成功启动jupyter.
- 右键打开jupyter:
复制一下代码,保存为.reg文件,双击执行,执行完后可以按住shift+右键看到jupyter notebook的选项,点击则可在对应文件夹打开jupyter。
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Directory\Background\shell\cmd_jupyter]
@="在此处打开 Jupyter Notebook"
"Extended"=""
[HKEY_CLASSES_ROOT\Directory\Background\shell\cmd_jupyter\command]
@="cmd.exe /s /k \"jupyter notebook\""