安装jupyter:
pip install jupyter notebook
配置环境变量:在系统变量的path中添加一下路径,YourUsername是你的用户名
C:\Users\YourUsername\AppData\Roaming\Python\Python39\Scripts
重启cmd窗口运行jupyter notebook命令启动jupyter即可
更改jupyter启动后的默认页面:
cmd输入命令生成配置文件:
jupyter notebook --generate-config
打开配置文件:
notepad %USERPROFILE%\.jupyter\jupyter_notebook_config.py
Ctrl+f搜索:
在红框中填自己像要的默认路径,保存退出后重启jupyter notebook即可