# Problem loading Distributions package in Pluto

**URL:** <https://discourse.julialang.org/t/problem-loading-distributions-package-in-pluto/109814>\
**Category:** General Usage\
**Created:** [February 6, 2024, 2:58pm UTC](https://discourse.julialang.org/t/problem-loading-distributions-package-in-pluto/109814 "2024-02-06T14:58:38Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mirandaholmes](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mirandaholmes/32/52290_2.png) [@mirandaholmes](https://discourse.julialang.org/u/mirandaholmes)\
**Post date:** [February 6, 2024, 2:58pm UTC](https://discourse.julialang.org/t/problem-loading-distributions-package-in-pluto/109814/1 "2024-02-06T14:58:38Z")

</div>

I am using Pluto for assigning homework, and one of my students is unable to load the Distributions package. The error they get after running “using Distributions” is below. Subsequently, the functions from the Distributions package do not work. They are running the template code that I gave them, which runs without problems on my machine. I have also tried running the exact code they sent back to me to illustrate the problem, and it runs perfectly on my machine. How should I direct them to fix this problem?

The error after running “using Distributions” is this:

On worker 2:

MethodError: no method matching pretty\_stackcall(::Base.StackTraces.StackFrame, ::Module)

Closest candidates are:

pretty\_stackcall(::Base.StackTraces.StackFrame, !Matched::Core.MethodInstance)

@ Pluto ~/.julia/packages/Pluto/9zGI7/src/runner/PlutoRunner.jl:1035

pretty\_stackcall(::Base.StackTraces.StackFrame, !Matched::Core.CodeInfo)

@ Pluto ~/.julia/packages/Pluto/9zGI7/src/runner/PlutoRunner.jl:1031

pretty\_stackcall(::Base.StackTraces.StackFrame, !Matched::Nothing)

@ Pluto ~/.julia/packages/Pluto/9zGI7/src/runner/PlutoRunner.jl:1019

Stacktrace:

[1] #56

@ ~/.julia/packages/Pluto/9zGI7/src/runner/PlutoRunner.jl:993

[2] iterate

@ ./generator.jl:47 [inlined]

[3] \_collect

@ ./array.jl:854

[4] collect\_similar

@ ./array.jl:763

[5] map

@ ./abstractarray.jl:3282

[6] #format\_output#52

@ ~/.julia/packages/Pluto/9zGI7/src/runner/PlutoRunner.jl:992

[7] formatted\_result\_of

@ ~/.julia/packages/Pluto/9zGI7/src/runner/PlutoRunner.jl:864

[8] top-level scope

@ none:1

[9] eval

@ ./boot.jl:385

[10] #invokelatest#2

@ ./essentials.jl:887

[11] invokelatest

@ ./essentials.jl:884

[12] #110

@ /opt/julia-1.10.0/share/julia/stdlib/v1.10/Distributed/src/process\_messages.jl:286

[13] run\_work\_thunk

@ /opt/julia-1.10.0/share/julia/stdlib/v1.10/Distributed/src/process\_messages.jl:70

[14] #109

@ /opt/julia-1.10.0/share/julia/stdlib/v1.10/Distributed/src/process\_messages.jl:286

---

<div class="post-metadata">

**Author:** ![Miranda\_Holmes-Cerfo](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/miranda_holmes-cerfo/32/205659_2.png) [@Miranda\_Holmes-Cerfo](https://discourse.julialang.org/u/Miranda_Holmes-Cerfo)\
**Post date:** [February 6, 2024, 11:40pm UTC](https://discourse.julialang.org/t/problem-loading-distributions-package-in-pluto/109814/2 "2024-02-06T23:40:22Z")

</div>

Never mind, it turns out that the student needed to install Pluto using root admin rights. When they started Julia as root everything worked fine.

---

<div class="post-metadata">

**Author:** ![mkitti](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mkitti/32/12459_2.png) [@mkitti](https://discourse.julialang.org/u/mkitti)\
**Post date:** [February 7, 2024, 6:43am UTC](https://discourse.julialang.org/t/problem-loading-distributions-package-in-pluto/109814/3 "2024-02-07T06:43:25Z")

</div>

Hmm… Julia should not need root privileges to operate correctly. That said I see that the student has an installation of Julia within `/opt` suggesting a customized system install of Julia.
