Problems installing Julia on Windows, respositories

question

#1

Hi.

This morning I’ve been trying to install Julia 0.6 with Jupyter on Windows 10.
I did use Julia two years ago and decided to give it another chance.

Things weren’t working well.

I was getting these kind of messages:

WARNING: skipping repodata/repomd.xml, not in cache – call WinRPM.update() to download

WinRPM.update()
INFO: Downloading https://cache.julialang.org/http://download.opensuse.org/repositories/windows:/mingw:/win32/openSUSE_13.2/repodata/repomd.xml
WARNING: Unknown download failure, error code: 2148270094

and many more.

Finally I fonund the solution, I hope.

The sources.list file contained this:

https://cache.julialang.org/http://download.opensuse.org/repositories/windows:/mingw:/win32/openSUSE_Leap_42.2
https://cache.julialang.org/http://download.opensuse.org/repositories/windows:/mingw:/win64/openSUSE_Leap_42.2

Just removing the https://cache.julialang.org/ seems to make it work.

http://download.opensuse.org/repositories/windows:/mingw:/win32/openSUSE_Leap_42.2
http://download.opensuse.org/repositories/windows:/mingw:/win64/openSUSE_Leap_42.2

I don’t know why it was that way or if removing that text will cause any problem.

I also can see that the repository is inside an OpenSUSE repository but I’m using Windows. Is there any repository just for Windows?

I’m sharing my experience in case it help others.


#2

For Windows you usually go to the download page and download the 32 or 64 bit version. I have never had a problem with this procedure.
Maybe wiping out your Julia home directory (c:\Users\username.julia) may help?


#3

This is an issue on Windows Server installations – by default IE blocks access to everything. Which is problematic, since WinRPM uses a ccall to that for it’s downloads.

For reference:


AFAIK your workaround is correct for the time being; I think once https://github.com/JuliaLang/julia/pull/21968#issuecomment-313890458 is merged WinRPM can switch to that instead of relying on Internet Explorer…