Отключение прокси в Конде - PullRequest
0 голосов
/ 12 июня 2019

Я знаю, что мы можем установить прокси в conda, используя следующую команду

conda config --set proxy_servers.http  <proxy>
conda config --set proxy_servers.https  <proxy>

Но как мне отключить эти прокси-серверы?

Спасибо

1 Ответ

1 голос
/ 13 июня 2019

В соответствии с документацией conda config:

Config Modifiers:
  --get [KEY [KEY ...]]
                        Get a configuration value.
  --append KEY VALUE    Add one configuration value to the end of a list key.
  --prepend KEY VALUE, --add KEY VALUE
                        Add one configuration value to the beginning of a list
                        key.
  --set KEY VALUE       Set a boolean or string key
  --remove KEY VALUE    Remove a configuration value from a list key. This
                        removes all instances of the value.
  --remove-key KEY      Remove a configuration key (and all its values).
  --stdin               Apply configuration information given in yaml format
                        piped through stdin.

So

conda config --remove-key proxy_servers.http
conda config --remove-key proxy_servers.https

должен сделать трюк!

...