pywin32出了问题,重装并升级了anaconda后正常。
记录下anaconda重装的关键步骤和虚拟环境配置
步骤:
1. 360软件管理卸载python(anaconda)老版本
2. 官网下载最新anaconda。现在是2022(5)版本
安装的教程很多,不再记录
3. 编辑环境变量,path下增加一下路径:
你的安装路径Anaconda3
你的安装路径Anaconda3Scripts
你的安装路径Anaconda3Librarybin
你的安装路径Anaconda3Librarymingw-w64
4.更新conda
conda upgrade --all
5. 配置jupyter notebook
(1)修改工作目录看另一篇:
修改jupyter notebook默认工作目录_ddxn417的博客-CSDN博客步骤1. 命令行:jupyter notebook --generate-config2. 在生成的配置文件中找到:# c.NotebookApp.notebook_dir =去掉"#" 修改值为c.NotebookApp.notebook_dir =要修改的默认工作目录 (不能含有中文字符)3. 修改JupyterNotebook快捷方式的属性,删除“目标”属性中的%USERPROFILE%...https://blog.csdn.net/ddxn417/article/details/113829925?spm=1001.2014.3001.5502
(2)更改字体颜色见:
jupyter notebook更改字体背景色_ddxn417的博客-CSDN博客()主题下载安装p install --no-dependencies jupyterthemes==0.18.2字体设置jt --lineh 140 -f consolamono -tf ptmono -t grade3 -ofs 12 -nfs 12 -tfs 12 -fs 12 -T -Nhttps://blog.csdn.net/ddxn417/article/details/113847637?spm=1001.2014.3001.5502(3)代码自动补全:
方式1:
jupyter notebook python代码自动补全_ddxn417的博客-CSDN博客pip install jupyter_contrib_nbextensionsjupyter contrib nbextension install --userpip install jupyter_nbextensions_configuratorjupyter nbextensions_configurator enable --user重新启动jupyter botebook,在Nbextensions标签页勾选Hinterland选项...https://blog.csdn.net/ddxn417/article/details/113847735?spm=1001.2014.3001.5502
方式2:
jupyter lab 代码提示 代码补全插件 jupyter lsp 配置教程 :Hinterland mode_By Moon的博客-CSDN博客_jupyterlab代码补全插件



