一伶椿、在電腦中Python2和Python3并存的情況下安裝Jupyter Notebook
直接使用pip install Jupyter,好像是舊Python2戳护,所以安裝失敗宜肉。
所以可以指定python3安裝
python3 -m pip install --upgrade pip --force-reinstall
python3 -m pip install jupyter
參考blog:https://blog.csdn.net/Robotzzg/article/details/80018579
二吟温、修改Jupyter Notebook的瀏覽器
cmd中jupyter notebook --generate-config
image.png
去對應(yīng)的路徑下找到配置文件
C:\Users\用戶名.jupyter\jupyter_notebook_config.py
增加以下三行:
import webbrowser
webbrowser.register( "Chrome", None, webbrowser.GenericBrowser("C:/Program Files (x86)/Google/Chrome/Application/Chrome.exe"))
c.NotebookApp.browser = "Chrome"
即可使用其他瀏覽器打開。
image.png
參考blog:https://www.cnblogs.com/lqqgis/p/12743777.html
三梅鹦、使用界面
image.png
image.png