# Installing a Pkg

**URL:** <https://discourse.julialang.org/t/installing-a-pkg/50661>\
**Category:** New to Julia\
**Tags:** question, package\
**Created:** [November 24, 2020, 12:27am UTC](https://discourse.julialang.org/t/installing-a-pkg/50661 "2020-11-24T00:27:59Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Alekey\_St](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/alekey_st/32/19681_2.png) [@Alekey\_St](https://discourse.julialang.org/u/Alekey_St)\
**Post date:** [November 24, 2020, 12:27am UTC](https://discourse.julialang.org/t/installing-a-pkg/50661/1 "2020-11-24T00:27:59Z")

</div>

Hi! I’ve tried several times to install the Distributions Pkg.  
I’m using the 1.5.3 Julia version, and every time I’m tring to add it, there’s an ERROR message.

I’ve tried from the pkg enviroment with the commands

> add Distributions

and

> add [GitHub - JuliaStats/Distributions.jl: A Julia package for probability distributions and associated functions.](https://github.com/JuliaStats/Distributions.jl)

and from the central enviroment by

> using Pkg  
> Pkg.add(“Distributions”)

however at the end of the process this message appears

> Updating git-repo `https://github.com/JuliaStats/Distributions.jl`  
> Updating registry at `C:... \.julia\registries\JuliaComputingRegistry`  
> Resolving package versions…  
> ERROR: expected package `Reexport [189a3867]` to be registered

I don’t know what to do, thanks in advance!

---

<div class="post-metadata">

**Author:** ![hendri54](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/hendri54/32/9621_2.png) [@hendri54](https://discourse.julialang.org/u/hendri54)\
**Post date:** [November 24, 2020, 12:41pm UTC](https://discourse.julialang.org/t/installing-a-pkg/50661/2 "2020-11-24T12:41:38Z")

</div>

When I encountered similar errors in the past, `]registry up` has solved them.

---

<div class="post-metadata">

**Author:** ![kristoffer.carlsson](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/kristoffer.carlsson/32/22_2.png) [@kristoffer.carlsson](https://discourse.julialang.org/u/kristoffer.carlsson)\
**Post date:** [November 24, 2020, 1:04pm UTC](https://discourse.julialang.org/t/installing-a-pkg/50661/3 "2020-11-24T13:04:10Z")

</div>

Are you using Julia Pro or the standard Julia install?

Anyway, try remove `C:... .julia/registries` and try again.
