Greetings and thank you for reading.
julia version 1.11.6
When attempting to add Plots, I get the following message:
Resolving package versions…
Failure artifact: Ghostscript
Failure artifact: Ghostscript
ERROR: Unable to automatically download/install artifact ‘Ghostscript’ from sources listed in ‘C:\Users\josece.julia\packages\Ghostscript_jll\x37hC\Artifacts.toml’.
Sources attempted:
- https://pkg.julialang.org/artifact/bf8f14a072d574839afd40d235e4ce6cd9e91a78
Error: RequestError: HTTP/1.1 200 OK (Recv failure: Connection was reset) while requesting https://pkg.julialang.org/artifact/bf8f14a072d574839afd40d235e4ce6cd9e91a78- https://github.com/JuliaBinaryWrappers/Ghostscript_jll.jl/releases/download/Ghostscript-v9.55.1+0/Ghostscript.v9.55.1.x86_64-w64-mingw32.tar.gz
Error: RequestError: HTTP/1.1 200 OK (Recv failure: Connection was reset) while requesting https://github.com/JuliaBinaryWrappers/Ghostscript_jll.jl/releases/download/Ghostscript-v9.55.1+0/Ghostscript.v9.55.1.x86_64-w64-mingw32.tar.gz
I tried a workaround:
- I downloaded the artifact “Ghostscript.v9.55.1.x86_64-w64-mingw32.tar.gz” directly from my browser.
- I put the tar.gz file in a folder and with ‘LiveServer’ using serve() I hosted it locally on ‘http://localhost:8000/’
- I ran
Pkg.Artifacts.download_artifact(Base.SHA1(“bf8f14a072d574839afd40d235e4ce6cd9e91a78”),“http://localhost:8000/Ghostscript.v9.55.1.x86_64-w64-mingw32.tar.gz”)
And got the error
ERROR: Unexpected end of data
I also tried using 7-zip to extract the tar.gz downloaded file and also got “Unexpected end of data” error.
Any help is appreciated.