Hi. I have just made a fresh install of Julia 1.7 and trying to install packages to run the existing code. Most of the required packages have been installed, but I ran into a problem with Distributions, which is dependent on Rmath, which is failing with an error message “Unable to automatically install ‘Rmath’ from C.….julia\packages\Rmath_jll\ss2ik\Artifacts.toml”.
I did use a similar Julia configuration on 1.7-rc2 and there was no such a problem (even though Distributions wasn’t dependent on Rmath, but both packages could be installed separately without issues).
I don’t need Rmath for my purposes, but it’s now failing Distributions due to the introduced dependency in release 1.7, and I can’t find a way to solve it (I tried, restarting, up, gc, precompile, build, whatever tricks worked in the past, but this is something new). I am looking to solve this particular problem as well get tips on how to deal with frequent package installation errors in general. Thanks.
Thanks for the info. I am on Windows 10 as well (build 19042).
I’ve seen people saying that order in which you install packages matter, not sure.
Apart from removing the whole thing and re-installing possibly in a different order, what can be done when you get “Unable to automatically install [package]” error messages?
There’s a bunch of threads on here with that error messages, and usually it’s users on systems with download restrictions (corporate firewalls etc.), see for example
I don’t really know what to do in these cases unfortunately other than moaning on here and hoping that @giordano spots the thread.
Thanks. Yes, the issue is weird – I installed Julia 1.7.0 on my other machine, and Distributions installed with no problems (although I skipped all other packages). I guess the only solution for the original machine would be to re-install from scratch unless anyone gives me some good suggestions.
Update: I think the problem is not with 1.7.0 after all and @nilshg was right that it is not a new dependency. I have tried removing Julia 1.7.0 and installing 1.6.4 and Distributions as the first package there. Still running into the same problem… Not sure how to troubleshoot here. Any suggestions?