LoginSignup
2
1

More than 1 year has passed since last update.

Anaconda3でのproxy設定

Last updated at Posted at 2021-05-27

Anaconda3でのproxy設定はAnaconda3フォルダ以下の.condarcで設定する。
参考
- Anaconda3のプロキシサーバー設定方法:Windows10 + Powershell
- proxyかんでる社内環境でpip/anacondaを動かすときに注意事項。

この方法を試してみたところうまく行かず、エラーになる。これはどうもurllib3の仕様変更せいらしい。

なので.condarcのプロクシ記述を

旧urllib書式.condarc
proxy_servers:
  http: http://id:password@proxy.aaa.bbb.co.jp:8080
  https: https://id:password@proxy.aaa.bbb.co.jp:8080

ではなく

新urllib3書式.condarc
proxy_servers:
  http: id:password@proxy.aaa.bbb.co.jp:8080
  https: id:password@proxy.aaa.bbb.co.jp:8080

とすれば良い。

2
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
1