I’m using win10 and julia-1.5.3 from the REPL. When I use Pkg mode to add a new package (or other operations) it starts by updating the registries\General:
(@v1.5) pkg> add Pluto
Updating registry at C:\Users\me\.julia\registries\General
where the updating line can take multiple minutes…every…time…
This seems to be a regression from Pkg adds from a year ago.
Is there a debug option to see what is taking so long?
Has anyone else seen this slow down?
Is there a fix/solution to the problem?
NOTE: This can be very problematic when I load a Pluto notebook and it starts by adding the needed packages to the session!
Looks promising so far! The full clone of General.git process took less time than the update via the package server. I assume git updates will be even faster going forward. Thanks!
Hello Kristoffer
I have a similar Problem. I use also win10 and Julia-1.5.3. It worked perfect during years. Since about 10 days, I can’t load Packages from the General registry e.g. Plots and others (see next)
(v1.5) pkg> add Plots
Updating registry at d:\Users\Heinz\.julia\registries\JuliaComputingRegistry
ERROR: The following package names could not be resolved:
Plots (not found in project, manifest or registry)
(v1.5) pkg> st --project
Status D:\Users\Heinz\.julia\environments\v1.5\Project.toml
[44cfe95a] Pkg
[9a3f8284] Random
Hi,
I’m using standard Juli. After having had this problem, I tried also Julia Pro.But there I had the same kind of errors.
I checkt “registry”, but with the following error messages, I coud’t get further.
(v1.5) pkg> registry up
Updating registry at d:\Users\Heinz\.julia\registries\JuliaComputingRegistry
(v1.5) pkg> add Plots
ERROR: The following package names could not be resolved:
Plots (not found in project, manifest or registry)
Thanks a lot, I will try this tomorrow.
To your question concerning special network settings: Can the LOAD_PATH setting have some influence on the observed behavior and how must this setting be? How can the LOAD_PATH be changed?
Good morning Kristoffer
Thank you again for your hint. It worked!
After deleting “registry” and deinstalling julia 1.5.3, I reinstalled Julia 1.5.3.
After starting Julia and “registry status” there was no registry. Then I added registry with “registry add General” and it was done!
The reason for the problems are still unknown. But lets now move on!
Thank you again for your help.
PS. A good side-effect was, that I learned a lot more about Pkg.jl and the Registry!
Good morning Kristoffer
Thank you again for your hint. It worked!
After deleting “registry” and deinstalling julia 1.5.3, I reinstalled Julia 1.5.3.
After starting Julia and “registry status” there was no registry. Then I added registry with “registry add General” and it was done!
The reason for the problems are still unknown. But lets now move on!
Thank you again for your help.
PS. A good side-effect was, that I learned a lot more about Pkg.jl and the Registry!
Perhaps this is off-topic, but I found the Windows experience frustrating enough that I installed Julia to WSL instead. So far this is a significant improvement over ‘ordinary Windows’, shell mode is nicer, too.
I wonder if there are any drawbacks, or is this basically the best solution for windows?
Depending on what is required, WSL is probably a good solution. I did try it and the improvements in speed were very good.
However I also run a Linux installation in VirtualBox, and it turns out that VirtualBox and WSL can’t be installed at the same time. I had to choose between the two, so I chose VirtualBox.
Both Linux’y systems were much faster than Windows (all running on the same hardware, of course). Without any real knowledge on my part, my guess is that a lot of this is because the Windows file system is really slow.
Thanks for the tip, but unfortunately I’m doing some of this setup for work and trying to convince our IT that we should have WSL installed is just not a battle I’m willing to wage at the moment
Hi @kristoffer.carlsson,
just as a follow up to the comment that things should be better in 1.6.
I’m still experiencing registry update times in the minutes range (1-2 I’d say).
Not the end of the world since this is not something that’s done constantly, but it does seem I bit slower than I would have expected.
I know this is an old thread, but I’m experiencing this issue with Julia v1.9. I tried the fix recommended, but fetching takes a long time, several minutes. More specifically, after fetching reaches 100%, this is where the stall happens. I suspect the problem is related to security software I have installed, but is there some way I can debug this further? Maybe a more verbose output?