当前位置: 代码网 > it编程>前端脚本>Python > jupyter重新下载与安装实践

jupyter重新下载与安装实践

2026年03月10日 Python 我要评论
conda 卸载要卸载 jupyter,首先需要确定你是通过哪种方式安装的。由于你提到不确定是通过 conda 还是本地的 python 安装的,我们可以分别检查并尝试卸载。conda list ju

conda 卸载

要卸载 jupyter,首先需要确定你是通过哪种方式安装的。

由于你提到不确定是通过 conda 还是本地的 python 安装的,我们可以分别检查并尝试卸载。

conda list jupyter

这里选择你所有的jupyter 相关的包

conda remove -n coder jupyter_client jupyter_core
# coder 是我的虚拟环境名字
conda list -n coder

pip 卸载

pip3 show jupyter

pip uninstall jupyter

重新安装

这里选择在conda下进行安装

conda create -n rob python=3.6

conda activate rob

conda install jupyter

jupyter notebook

more jupyter 中没有找到相关环境

在 jupyter notebook 界面中没有看到你的 rob 环境可能是因为在该环境中没有安装 jupyter notebook 相关的内核。

为了在 jupyter notebook 中使用不同的 python 环境,你需要为那个环境安装一个内核。

conda install ipykernel
python -m ipykernel install --user --name rob --display-name "python (rob)"

总结

以上为个人经验,希望能给大家一个参考,也希望大家多多支持代码网。

(0)

相关文章:

版权声明:本文内容由互联网用户贡献,该文观点仅代表作者本人。本站仅提供信息存储服务,不拥有所有权,不承担相关法律责任。 如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件至 2386932994@qq.com 举报,一经查实将立刻删除。

发表评论

验证码:
Copyright © 2017-2026  代码网 保留所有权利. 粤ICP备2024248653号
站长QQ:2386932994 | 联系邮箱:2386932994@qq.com