# Outdated information in error, Pkg 3.0?

**URL:** <https://discourse.julialang.org/t/outdated-information-in-error-pkg-3-0/13926>\
**Category:** General Usage\
**Created:** [August 23, 2018, 10:17am UTC](https://discourse.julialang.org/t/outdated-information-in-error-pkg-3-0/13926 "2018-08-23T10:17:42Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![KZiemian](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/kziemian/32/9020_2.png) [@KZiemian](https://discourse.julialang.org/u/KZiemian)\
**Post date:** [August 23, 2018, 10:17am UTC](https://discourse.julialang.org/t/outdated-information-in-error-pkg-3-0/13926/1 "2018-08-23T10:17:42Z")

</div>

After some cleaning on my computer I run Julia 1.0 and have

```julia
using IJulia
ERROR: ArgumentError: Package IJulia not found in current path:
- Run `Pkg.add("IJulia")` to install the IJulia package.

Stacktrace:
 [1] require(::Module, ::Symbol) at ./loading.jl:817

```

Since `Pkg.add` was removed from REPL is this error just legacy of previous versions? Or this error is left for Jupyter/other environments use?

---

<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:** [August 23, 2018, 10:43am UTC](https://discourse.julialang.org/t/outdated-information-in-error-pkg-3-0/13926/2 "2018-08-23T10:43:28Z")

</div>

> [@KZiemian](#):
>
> Since `Pkg.add` was removed from REPL is this error just legacy of previous versions?

What do you mean?

```julia
import Pkg; Pkg.add("IJulia")

```

still works. The error message was tweaked here: [fixes issue 28553, improves error message for missing packages by affans · Pull Request #28555 · JuliaLang/julia · GitHub](https://github.com/JuliaLang/julia/pull/28555)

---

<div class="post-metadata">

**Author:** ![KZiemian](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/kziemian/32/9020_2.png) [@KZiemian](https://discourse.julialang.org/u/KZiemian)\
**Post date:** [August 24, 2018, 12:09pm UTC](https://discourse.julialang.org/t/outdated-information-in-error-pkg-3-0/13926/3 "2018-08-24T12:09:28Z")

</div>

Thank you for explanation, I wrongly understood someone words that they removed Pkg from REPL, when they just moved it to some Basic (?) library. I try to fallow changes in the version 1.0, still I miss something.

---

<div class="post-metadata">

**Author:** ![matthieu](https://avatars.discourse-cdn.com/v4/letter/m/da6949/32.png) [@matthieu](https://discourse.julialang.org/u/matthieu)\
**Post date:** [August 24, 2018, 12:13pm UTC](https://discourse.julialang.org/t/outdated-information-in-error-pkg-3-0/13926/4 "2018-08-24T12:13:44Z")

</div>

I think the error should say:  
`Run "Using Pkg; Pkg.add("IJulia")" to install the IJulia package.`

---

<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:** [August 24, 2018, 12:14pm UTC](https://discourse.julialang.org/t/outdated-information-in-error-pkg-3-0/13926/5 "2018-08-24T12:14:55Z")

</div>

> [@matthieu](#):
>
> I agree the error should say:  
> `Run "Using Pkg; Pkg.add("IJulia")" to install the IJulia package.`

> [@fredrikekre](#):
>
> The error message was tweaked here: [https://github.com/JuliaLang/julia/pull/28555](https://github.com/JuliaLang/julia/pull/28555)

It will be changed to that in Julia v1.0.1.
