今天打开jupyter发现有一个提示

Read the migration plan to Notebook 7 to learn about the new features and the actions to take if you are using extensions - Please note that updating to Notebook 7 might break some of your extensions.
翻译:
阅读笔记本7的迁移计划,了解新功能以及在使用扩展时要采取的操作-请注意,更新到笔记本7可能会破坏某些扩展。
查看已安装的notebook版本

如何升级?
pip install --upgrade <package-name>
也就是
pip install --upgrade notebook
别漏了“–”

如何升级到指定版本?
pip install --upgrade <package-name>==<version>
这里升级到7.0.0
pip install --upgrade notebook==7.0.0
查询版本:
pip show notebook
#或者
jupyter notebook --version

发现还是老版本
于是采用官网的命令进行升级
pip install notebook

所以这是因为notebook7还没有发布??
用户在尝试升级JupyterNotebook到7.0.0版本时遇到问题,注意到更新可能会导致某些扩展失效。文章提供了使用pip升级的命令,包括检查版本、升级到特定版本以及查询当前版本的步骤。用户按照官方命令执行升级后,仍显示旧版本,怀疑可能是Notebook7尚未发布。
1073

被折叠的 条评论
为什么被折叠?



