# Error when installing \*some\* packages

**URL:** <https://discourse.julialang.org/t/error-when-installing-some-packages/68994>\
**Category:** Package Management\
**Tags:** package, error-message\
**Created:** [September 30, 2021, 12:08pm UTC](https://discourse.julialang.org/t/error-when-installing-some-packages/68994 "2021-09-30T12:08:58Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Wjgatt](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/wjgatt/32/25952_2.png) [@Wjgatt](https://discourse.julialang.org/u/Wjgatt)\
**Post date:** [September 30, 2021, 12:08pm UTC](https://discourse.julialang.org/t/error-when-installing-some-packages/68994/1 "2021-09-30T12:08:58Z")

</div>

Hi all, I run into the problem below when I try to install _some_, but not all, packages on my work PC (i.e. I don’t have admin rights). For example, I get this when trying to install DataVoyager, VegaLite (which is related to the error in DataVoyager) and IJulia. Below is the error for the fomer. I have managed to install several other packages, such as Plots, Statistics, Distributed, Distributions, without problems.

```julia
(@v1.6) pkg> add DataVoyager
    Updating registry at `C:\Users\gattfw\.julia\registries\General`
    Updating git-repo `https://github.com/JuliaRegistries/General.git`
   Resolving package versions...
  Downloaded artifact: vegalite_app
  Downloaded artifact: vegalite_app
ERROR: Unable to automatically install 'vegalite_app' from 'C:\Users\gattfw\.julia\packages\VegaLite\F2JoW\Artifacts.toml'
Stacktrace:
  [1] error(s::String)
    @ Base .\error.jl:33
  [2] ensure_artifact_installed(name::String, meta::Dict{String, Any}, artifacts_toml::String; platform::Base.BinaryPlatforms.Platform, verbose::Bool, quiet_download::Bool, io::Base.TTY)
    @ Pkg.Artifacts C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\Pkg\src\Artifacts.jl:443

```

I am using Julia v1.6.1 on Windows 10.

Any help would be appreciated.

Thanks!  
W

---

<div class="post-metadata">

**Author:** ![fredrikekre](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/fredrikekre/32/1688_2.png) [@fredrikekre](https://discourse.julialang.org/u/fredrikekre)\
**Post date:** [September 30, 2021, 1:53pm UTC](https://discourse.julialang.org/t/error-when-installing-some-packages/68994/2 "2021-09-30T13:53:42Z")

</div>

Probably you have firewall or similar that blocks HTTP requests to `github.com`. This is the [artifact url](https://github.com/queryverse/VegaLite.jl/blob/cb63ba5c67a26124a8fdf9e5bc6928dd80810a7a/Artifacts.toml#L123) that fails.

---

<div class="post-metadata">

**Author:** ![pfitzseb](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/pfitzseb/32/45566_2.png) [@pfitzseb](https://discourse.julialang.org/u/pfitzseb)\
**Post date:** [September 30, 2021, 2:16pm UTC](https://discourse.julialang.org/t/error-when-installing-some-packages/68994/3 "2021-09-30T14:16:58Z")

</div>

Wouldn’t updating the registry also fail then?

---

<div class="post-metadata">

**Author:** ![Wjgatt](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/wjgatt/32/25952_2.png) [@Wjgatt](https://discourse.julialang.org/u/Wjgatt)\
**Post date:** [September 30, 2021, 2:18pm UTC](https://discourse.julialang.org/t/error-when-installing-some-packages/68994/4 "2021-09-30T14:18:24Z")

</div>

Thanks for your reply. Why is it the case only with a few packages? Isn’t Distributions.jl for example also downloaded from Github?

---

<div class="post-metadata">

**Author:** ![fredrikekre](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/fredrikekre/32/1688_2.png) [@fredrikekre](https://discourse.julialang.org/u/fredrikekre)\
**Post date:** [September 30, 2021, 2:21pm UTC](https://discourse.julialang.org/t/error-when-installing-some-packages/68994/5 "2021-09-30T14:21:55Z")

</div>

No, from `pkg.julialang.org` by default, with `github.com` as a fallback. In your case both of those fail probably. For packages there is an additional fallback using git, which apparently is allowed. But for binary artifacts, which some packages use, there is no such fallback.

---

<div class="post-metadata">

**Author:** ![Wjgatt](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/wjgatt/32/25952_2.png) [@Wjgatt](https://discourse.julialang.org/u/Wjgatt)\
**Post date:** [October 1, 2021, 6:23am UTC](https://discourse.julialang.org/t/error-when-installing-some-packages/68994/6 "2021-10-01T06:23:15Z")

</div>

Thanks, that clarifies things!
