# IJulia not recognizing the \`\]\` repl package command

**URL:** <https://discourse.julialang.org/t/ijulia-not-recognizing-the-repl-package-command/122302>\
**Category:** General Usage\
**Tags:** package, ijulia\
**Created:** [November 5, 2024, 6:28pm UTC](https://discourse.julialang.org/t/ijulia-not-recognizing-the-repl-package-command/122302 "2024-11-05T18:28:27Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![erny123](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/erny123/32/52255_2.png) [@erny123](https://discourse.julialang.org/u/erny123)\
**Post date:** [November 5, 2024, 6:28pm UTC](https://discourse.julialang.org/t/ijulia-not-recognizing-the-repl-package-command/122302/1 "2024-11-05T18:28:27Z")

</div>

Using Julia 1.11.1 and just loaded, built, and created a kernel with: `installkernel("Julia (24 threads)", "--depwarn=no",env=Dict("JULIA_NUM_THREADS"=>"24"))`

Haven’t had this issue before but when entering: `] activate .`

into a jupyter lab notebook cell I get an error:

```julia
MethodError: no method matching do_cmd(::IJulia.MiniREPL, ::String; do_rethrow::Bool)
The function `do_cmd` exists, but no method is defined for this combination of argument types.

Closest candidates are:
  do_cmd(::Pkg.REPLMode.Command, ::Any) got unsupported keyword argument "do_rethrow"
   @ Pkg ~/.julia/juliaup/julia-1.11.1+0.x64.linux.gnu/share/julia/stdlib/v1.11/Pkg/src/REPLMode/REPLMode.jl:398

Stacktrace:
 [1] top-level scope
   @ In[2]:1

```

 ![image](https://global.discourse-cdn.com/julialang/original/3X/8/c/8cee86ab126ac4dac3b828ad2f2eaa1e7379bd31.png)

---

<div class="post-metadata">

**Author:** ![nilshg](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/nilshg/32/2283_2.png) [@nilshg](https://discourse.julialang.org/u/nilshg)\
**Post date:** [November 5, 2024, 6:52pm UTC](https://discourse.julialang.org/t/ijulia-not-recognizing-the-repl-package-command/122302/2 "2024-11-05T18:52:11Z")

</div>

Correct:

> <https://github.com/JuliaLang/IJulia.jl/issues/1119>
>
> Already noticed this in rc3 but it's still a problem and I've just set up a comp…letely new machine so could confirm that this happens on a fresh install (Windows 11, Julia 1.11-rc4 installed through Juliaup, then just \`add IJulia; using IJulia; notebook()\` and allowing the standard install of miniconda).
> 
> Then in a notebook I do:
> 
> \`\`\`
> \] st
> \`\`\`
> 
> and get:
> 
> \`\`\`
> MethodError: no method matching do\_cmd(::IJulia.MiniREPL, ::String; do\_rethrow::Bool)
> The function \`do\_cmd\` exists, but no method is defined for this combination of argument types.
> 
> Closest candidates are:
> do\_cmd(::Pkg.REPLMode.Command, ::Any) got unsupported keyword argument "do\_rethrow"
> @ Pkg ...\\.julia\\juliaup\\julia-1.11.0-rc4+0.x64.w64.mingw32\\share\\julia\\stdlib\\v1.11\\Pkg\\src\\REPLMode\\REPLMode.jl:398
> \`\`\`
> 
> I assume this is related to the excision of Pkg?

---

<div class="post-metadata">

**Author:** ![stevengj](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/stevengj/32/71_2.png) [@stevengj](https://discourse.julialang.org/u/stevengj)\
**Post date:** [November 5, 2024, 8:46pm UTC](https://discourse.julialang.org/t/ijulia-not-recognizing-the-repl-package-command/122302/3 "2024-11-05T20:46:47Z")

</div>

Should be fixed in IJulia 1.26 (just released),
