原因:网速太慢
解决办法
pip --default-timeout=100 install jupyter notebook
修改新建代码位置:cmd先运行,找到文件位置(可能在C:\Users\Administrator.jupyter\jupyter_notebook_config.py)
jupyter notebook --generate-config
去文件目录下打开修改jupyter_notebook_config.py文件
再在cmd中输入:jupyter notebook
启动