kottasのブログ

主に環境設定に関するメモを記載していきます。

UbuntuにインストールしたAnacondaへのプロキシの通し方

はじめに

タイトルの通り。

環境

Ubuntu 18.04

コマンドラインから

4.4.x.以降で以下が可能らしい。

conda config --set proxy_servers.http http://"hogehoge":port
conda config --set proxy_servers.https https://""fugafuga:port
condarc に記載
proxy_servers:
    http: http://"hogehoge":port
    https: https://"fugafuga":port
確認
conda config --show
参考

https://stackoverflow.com/questions/31099279/running-conda-with-proxy stackoverflow.com qiita.com