欢迎访问 生活随笔!

生活随笔

当前位置: 首页 > 运维知识 > linux >内容正文

linux

Linux安装jupyter debugger+Conda设置proxy代理

发布时间:2025/10/17 linux 49 豆豆
生活随笔 收集整理的这篇文章主要介绍了 Linux安装jupyter debugger+Conda设置proxy代理 小编觉得挺不错的,现在分享给大家,帮大家做个参考.

参考文档:https://jupyterlab.readthedocs.io/en/stable/user/debugger.html

需要执行如下两条命令:

conda create -n jupyterlab-debugger -c conda-forge jupyterlab=3 xeus-python conda activate jupyterlab-debugger

但是因为网络原因,需要设置代理否则无法安装

尝试修改.condarc文件,未成功;

改为直接在shell中设置环境变量:

$ export http_proxy=http://username:passwd@host:port $ export https_proxy=https://username:passwd@host:port#查看是否添加成功 $ echo $http_proxy#删除添加错误的变量 $ unset http_proxy#为确保成功,最好 $ source ~/.bashrc

再次运行最开始的两条命令,即可顺利安装jupyter debugger

总结

以上是生活随笔为你收集整理的Linux安装jupyter debugger+Conda设置proxy代理的全部内容,希望文章能够帮你解决所遇到的问题。

如果觉得生活随笔网站内容还不错,欢迎将生活随笔推荐给好友。