Problems encountered in installing Pkg for the first time

julia> using Pkg

julia> Pkg.add(“PyPlot”)
Updating registry at C:\Users\Administrator\.juliapro\JuliaPro_v1.4.2-1\registries\JuliaPro

Cannot reach authentication server at https://pkg.juliacomputing.com/auth or authentication failed.
Please check your internet connection and firewall settings.

Alternatively, open

in a browser, authenticate, and save the downloaded file at

C:\Users\Administrator.juliapro\JuliaPro_v1.4.2-1\servers\pkg.juliacomputing.com\auth.toml

Press Enter when you’re done…

I had the same problem after installing latest JuliaPro v 1.5.0.
Possible solution:

  • Open https://pkg.juliahub.com/auth in your browser, it will let you download file token.toml.
  • Rename this file as auth.toml
  • Copy it to C:\Users\Administrator.juliapro\JuliaPro_v1.4.2-1\servers\pkg.juliacomputing.com… if this folder does not exist, just manually create it
  • try it again

New auth urls seem to live now @

instead of https://pkg.juliahub.com/auth