Linux安装jupyter debugger+Conda设置proxy代理
生活随笔
收集整理的這篇文章主要介紹了
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代理的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: Linux创建jupyter noteb
- 下一篇: Redhat安装gtk2.0和pkg-c