Julia1.6:不能在Windows上使用代理进行gitclone(但单独的git可以)

我尝试使用代理服务器配置为我更快的连接git,我的配置是git config --global http.proxy socks5://127.0.0.1:1080,它工作正常git。然而,在应用这个之后,我的 Julia 包安装失败如下:

(@v1.6) pkg> add IJulia
Installing known registries into `C:Userskyu.julia`
Cloning registry from "https://github.com/JuliaRegistries/General.git"
ERROR: failed to clone from https://github.com/JuliaRegistries/General.git, error: GitError(Code:ERROR, Class:HTTP, invalid URL: 'socks5://127.0.0.1:1080')

如果我通过git config --global --unset http.proxy它取消设置代理会恢复正常。

此外,我想问一下,在这种情况下,我成功地git clone使用了存储库git,如何在 Julia 本地安装此包,以便跳过代理问题?

以上是Julia1.6:不能在Windows上使用代理进行gitclone(但单独的git可以)的全部内容。
THE END
分享
二维码
< <上一篇
下一篇>>