# Problems encountered in installing Pkg for the first time

**URL:** <https://discourse.julialang.org/t/problems-encountered-in-installing-pkg-for-the-first-time/44559>\
**Category:** New to Julia\
**Tags:** package\
**Created:** [August 8, 2020, 10:33am UTC](https://discourse.julialang.org/t/problems-encountered-in-installing-pkg-for-the-first-time/44559 "2020-08-08T10:33:36Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sleepaway](https://avatars.discourse-cdn.com/v4/letter/s/ea666f/32.png) [@sleepaway](https://discourse.julialang.org/u/sleepaway)\
**Post date:** [August 8, 2020, 10:33am UTC](https://discourse.julialang.org/t/problems-encountered-in-installing-pkg-for-the-first-time/44559/1 "2020-08-08T10:33:36Z")

</div>

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](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…

---

<div class="post-metadata">

**Author:** ![Owolf](https://avatars.discourse-cdn.com/v4/letter/o/bbce88/32.png) [@Owolf](https://discourse.julialang.org/u/Owolf)\
**Post date:** [August 17, 2020, 2:14pm UTC](https://discourse.julialang.org/t/problems-encountered-in-installing-pkg-for-the-first-time/44559/2 "2020-08-17T14:14:23Z")

</div>

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

- Open [https://pkg.juliahub.com/auth](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

---

<div class="post-metadata">

**Author:** ![o314](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/o314/32/252_2.png) [@o314](https://discourse.julialang.org/u/o314)\
**Post date:** [June 24, 2022, 5:48am UTC](https://discourse.julialang.org/t/problems-encountered-in-installing-pkg-for-the-first-time/44559/3 "2022-06-24T05:48:30Z")

</div>

New auth urls seem to live now @

- [https://pkg.juliahub.com/auth/auth.toml](https://pkg.juliahub.com/auth/auth.toml)
- [https://juliahub.com/auth/auth.toml](https://juliahub.com/auth/auth.toml)

instead of [https://pkg.juliahub.com/auth](https://pkg.juliahub.com/auth)
