# JuliaBox: Adding a package asks for credentials and fails

**URL:** <https://discourse.julialang.org/t/juliabox-adding-a-package-asks-for-credentials-and-fails/15224>\
**Category:** New to Julia\
**Tags:** juliabox\
**Created:** [September 20, 2018, 11:25am UTC](https://discourse.julialang.org/t/juliabox-adding-a-package-asks-for-credentials-and-fails/15224 "2018-09-20T11:25:07Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![carstenbauer](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/carstenbauer/32/4981_2.png) [@carstenbauer](https://discourse.julialang.org/u/carstenbauer)\
**Post date:** [September 20, 2018, 11:25am UTC](https://discourse.julialang.org/t/juliabox-adding-a-package-asks-for-credentials-and-fails/15224/1 "2018-09-20T11:25:07Z")

</div>

I was trying to

```julia
using Pkg
Pkg.add("PeriodicTable")

```

on the new JuliaBox (Julia 1.0).

However, I was asked for a username and password for [pkg.juliacomputing.org](http://pkg.juliacomputing.org). After pressing Enter a couple of times (leaving the fields empty), I’m now always getting:

```julia
 Updating registry at `/home/jrun/.julia/registries/JuliaPro`
  Updating git-repo `https://pkg.juliacomputing.com/registry/JuliaPro`
  Updating registry at `/home/jrun/.julia/registries/JuliaPro`
  Updating git-repo `https://pkg.juliacomputing.com/registry/JuliaPro`
The following package names could not be resolved:
 * PeriodicTable (not found in project, manifest or registry)
Please specify by known `name=uuid`.

Stacktrace:
 [1] pkgerror(::String) at /opt/julia-1.0.0/share/julia/stdlib/v1.0/Pkg/src/Types.jl:121
 [2] #ensure_resolved#43(::Bool, ::Function, ::Pkg.Types.EnvCache, ::Array{Pkg.Types.PackageSpec,1}) at /opt/julia-1.0.0/share/julia/stdlib/v1.0/Pkg/src/Types.jl:895
 [3] #ensure_resolved at ./none:0 [inlined]
 [4] #add_or_develop#13(::Symbol, ::Bool, ::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}, ::Function, ::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}) at /opt/julia-1.0.0/share/julia/stdlib/v1.0/Pkg/src/API.jl:58
 [5] #add_or_develop at ./none:0 [inlined]
 [6] #add_or_develop#12 at /opt/julia-1.0.0/share/julia/stdlib/v1.0/Pkg/src/API.jl:29 [inlined]
 [7] #add_or_develop at ./none:0 [inlined]
 [8] #add_or_develop#11(::Base.Iterators.Pairs{Symbol,Symbol,Tuple{Symbol},NamedTuple{(:mode,),Tuple{Symbol}}}, ::Function, ::Array{String,1}) at /opt/julia-1.0.0/share/julia/stdlib/v1.0/Pkg/src/API.jl:28
 [9] #add_or_develop at ./none:0 [inlined]
 [10] #add_or_develop#10 at /opt/julia-1.0.0/share/julia/stdlib/v1.0/Pkg/src/API.jl:27 [inlined]
 [11] #add_or_develop at ./none:0 [inlined]
 [12] #add#18 at /opt/julia-1.0.0/share/julia/stdlib/v1.0/Pkg/src/API.jl:68 [inlined]
 [13] add(::String) at /opt/julia-1.0.0/share/julia/stdlib/v1.0/Pkg/src/API.jl:68
 [14] top-level scope at In[2]:1

```

PeriodicTable is even a registered package. How do I add it?

---

<div class="post-metadata">

**Author:** ![carstenbauer](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/carstenbauer/32/4981_2.png) [@carstenbauer](https://discourse.julialang.org/u/carstenbauer)\
**Post date:** [September 26, 2018, 6:56am UTC](https://discourse.julialang.org/t/juliabox-adding-a-package-asks-for-credentials-and-fails/15224/2 "2018-09-26T06:56:44Z")

</div>

No one? Seems like a pretty basic thing to me. Or am I the only one observing this?

---

<div class="post-metadata">

**Author:** ![carstenbauer](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/carstenbauer/32/4981_2.png) [@carstenbauer](https://discourse.julialang.org/u/carstenbauer)\
**Post date:** [September 26, 2018, 9:09am UTC](https://discourse.julialang.org/t/juliabox-adding-a-package-asks-for-credentials-and-fails/15224/3 "2018-09-26T09:09:25Z")

</div>

Same happens for BenchmarkTools …

 ![juliabox_issue](https://global.discourse-cdn.com/julialang/original/3X/2/a/2a49a7e9d88c234ea206c5264a2bb8ec2940749c.png)

---

<div class="post-metadata">

**Author:** ![Paul\_Soderlind](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/paul_soderlind/32/1753_2.png) [@Paul\_Soderlind](https://discourse.julialang.org/u/Paul_Soderlind)\
**Post date:** [September 26, 2018, 10:55am UTC](https://discourse.julialang.org/t/juliabox-adding-a-package-asks-for-credentials-and-fails/15224/4 "2018-09-26T10:55:10Z")

</div>

running this in a notebook works well for me (JuliaBox, Julia 1.0.0)

```julia
pkg"add BenchmarkTools"

```

/Paul S

---

<div class="post-metadata">

**Author:** ![carstenbauer](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/carstenbauer/32/4981_2.png) [@carstenbauer](https://discourse.julialang.org/u/carstenbauer)\
**Post date:** [September 26, 2018, 11:12am UTC](https://discourse.julialang.org/t/juliabox-adding-a-package-asks-for-credentials-and-fails/15224/5 "2018-09-26T11:12:01Z")

</div>

Thanks!

However, this

- still doesn’t work for, say, `PeriodicTable.jl`
- doesn’t seem to be what most people will try

---

<div class="post-metadata">

**Author:** ![HerbM](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/herbm/32/5082_2.png) [@HerbM](https://discourse.julialang.org/u/HerbM)\
**Post date:** [September 26, 2018, 4:05pm UTC](https://discourse.julialang.org/t/juliabox-adding-a-package-asks-for-credentials-and-fails/15224/6 "2018-09-26T16:05:29Z")

</div>

What OS, firewall and proxy details MIGHT get more response.

I am on Windows behind and authenticated proxy and will get a request for credentials naming a destination (not the proxy) sometimes if my settings are incorrect.

Still having trouble with python pip and Julia, though PowerShell (direct) and Git both work with my current (complex) settings.

---

<div class="post-metadata">

**Author:** ![carstenbauer](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/carstenbauer/32/4981_2.png) [@carstenbauer](https://discourse.julialang.org/u/carstenbauer)\
**Post date:** [September 26, 2018, 4:13pm UTC](https://discourse.julialang.org/t/juliabox-adding-a-package-asks-for-credentials-and-fails/15224/7 "2018-09-26T16:13:35Z")

</div>

I’m talking about JuliaBox. Not a local julia installation.

---

<div class="post-metadata">

**Author:** ![avik](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/avik/32/17_2.png) [@avik](https://discourse.julialang.org/u/avik)\
**Post date:** [September 26, 2018, 5:26pm UTC](https://discourse.julialang.org/t/juliabox-adding-a-package-asks-for-credentials-and-fails/15224/8 "2018-09-26T17:26:06Z")

</div>

Hi Carsten

- For now, use `pkg"add Package"` or `using Pkg; Pkg.add("Package")` to install packages. There is a bug in using the REPL mode `]`, which we will fix hopefully soon.

- We currently limit the packages that we support on 1.0 for Juliabox. Our experience has been that package instability has been the cause of the majority of support issues on Juliabox. Thus, for now, the list of packages are limited to a subset. We will expand the soon, and maybe provide a way to switch out of the limited set, but that’s not ready yet.

Regards

Avik

---

<div class="post-metadata">

**Author:** ![carstenbauer](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/carstenbauer/32/4981_2.png) [@carstenbauer](https://discourse.julialang.org/u/carstenbauer)\
**Post date:** [September 26, 2018, 6:23pm UTC](https://discourse.julialang.org/t/juliabox-adding-a-package-asks-for-credentials-and-fails/15224/9 "2018-09-26T18:23:16Z")

</div>

Ok. Thanks for the info!
