LoginSignup
4
0

More than 3 years have passed since last update.

Juliaでproxy経由でパッケージをインストールしたいけどエラーがでる時の解決策

Last updated at Posted at 2020-01-23

少しハマったので解決策をシェアしたいと思います。

Juliaのバージョンを上げた途端にこれまでできていたproxy経由でのパッケージインストールができなくなったようなケースが対象です。
Julia 1.3で確認済みです。

参考URL:
https://github.com/libgit2/libgit2/issues/5255

解決策

proxyがhttp://myproxy.comでポートが1111のときですが、
.gitconfigに

[http]
        proxy = http://myproxy.com:1111

と書かれていると通常のgitはちゃんとproxyを通ってくれるのですが、Juliaだとこれがうまくいかない場合があります。
この場合、

[http]
        proxy = http://myproxy.com:1111/

とスラッシュを最後に入れると解決する場合があります。

4
0
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
4
0