Is this on Windows? I've experienced the same for the past few releases in Windows. For some reason that clone step is ridiculously slow.
Window registry issues have been a thing.
I have heard it is to do with how windows antivirus works. Since the registry is like 10,000 seperate files. It chokes on them.
I have heard there is an upcoming feature to allow the package manager to work with the registry being kept inside a tarball, which is specifically being added to deal with this
It's not an av issue, at least not on my machine.
Yes.
> (@v1.6) pkg> add Plots
Installing known registries into `~\.julia`
Cloning registry from "https://github.com/JuliaRegistries/General.git"
Fetching: [==> ] 3.4 %
I gave up because it's just too slow (more than 15 min to get to 3%).
Maybe plotting is indeed faster, but I don't think I'll actually get to that point.
Did you try a manual git clone to rule out any network or FS issues?
A manual git clone is very slow for the Julia registry, but it's still an order of magnitude faster...
Is your home folder on a network drive?
Nope.
This is a Windows issue, I'm pretty sure. My solution is easy, install Julia under WSL. In fact, after moving from MacOS to Windows, this is my goto solution: install as much as I can under WSL.
Problem disappeared.
By the download speed, it might take a few hours before I can plot something.
It also seems that just doing "git clone JuliaRegistries/General.git" is much faster than doing "] add Plots"