I got similar problems, such as
(@v1.7) pkg> add https://github.com/fonsp/Pluto.jl
Cloning git-repo `https://github.com/fonsp/Pluto.jl`
ERROR: failed to clone from https://github.com/fonsp/Pluto.jl, error: GitError(Code:ERROR, Class:HTTP, unknown http scheme 'socks5')
The information of my system is:
julia> versioninfo()
Julia Version 1.7.2
Commit bf53498635 (2022-02-06 15:21 UTC)
Platform Info:
OS: macOS (x86_64-apple-darwin19.5.0)
CPU: Apple M1 Max
WORD_SIZE: 64
LIBM: libopenlibm
LLVM: libLLVM-12.0.1 (ORCJIT, westmere)
Environment:
JULIA_NUM_THREADS = 1
JULIA_EDITOR = code
JULIA_NO_VERIFY_HOSTS = **.github.com
The version of git is:
shell> git --version
git version 2.32.0 (Apple Git-132)
Add I’ve add the following lines to .Julia/config/startup.jl
@eval Module() begin
import NetworkOptions
ENV["JULIA_NO_VERIFY_HOSTS"] = "**.github.com"
end
Any suggestions?
Thanks.
Likan