jupyter突然一直报错,不得已只好重装,记录一下:
1. 先进prompt卸载:
pip install pip-autoremove
pip-autoremove jupyter -y
2. 安装jupyter
pip install jupyter
3. 配置文件地址
输入 jupyter notebook --generate-config 回车:
然后会显示当前文件夹,进入文件夹找到jupyter_notebook_config.py,定位到
**#c: NotebookApp.notebook_dir=' ',填入目标文件夹,去掉#。**
4.输入conda install pywin32
大功告成。