# Help in installing Turing.jl

**URL:** <https://discourse.julialang.org/t/help-in-installing-turing-jl/48648>\
**Category:** New to Julia\
**Created:** [October 19, 2020, 6:04pm UTC](https://discourse.julialang.org/t/help-in-installing-turing-jl/48648 "2020-10-19T18:04:46Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![bugs\_san](https://avatars.discourse-cdn.com/v4/letter/b/e9c0ed/32.png) [@bugs\_san](https://discourse.julialang.org/u/bugs_san)\
**Post date:** [October 19, 2020, 6:04pm UTC](https://discourse.julialang.org/t/help-in-installing-turing-jl/48648/1 "2020-10-19T18:04:46Z")

</div>

I have been trying to install Turing.jl  
I installed julia using this [blog](https://ferrolho.github.io/blog/2019-01-26/how-to-install-julia-on-ubuntu). I have been using other packages without any issues  
I am getting the below error when I use `using Turing`

`┌ Info: Precompiling Turing [fce5fe82-541a-59a6-adf8-730c64b5f9a0]  
└ @ Base loading.jl:1278  
ERROR: LoadError: UndefVarError: libtask\_v1\_3 not defined  
Stacktrace:  
[1] top-level scope at /home/buggi/.julia/packages/Libtask/OtgFl/src/Libtask.jl:23  
[2] include(::Function, ::Module, ::String) at ./Base.jl:380  
[3] include(::Module, ::String) at ./Base.jl:368  
[4] top-level scope at none:2  
[5] eval at ./boot.jl:331 [inlined]  
[6] eval(::Expr) at ./client.jl:467  
[7] top-level scope at ./none:3  
in expression starting at /home/buggi/.julia/packages/Libtask/OtgFl/src/Libtask.jl:16  
ERROR: LoadError: Failed to precompile Libtask [6f1fad26-d15e-5dc8-ae53-837a1d7b8c9f] to /home/buggi/.julia/compiled/v1.5/Libtask/KIaXx\_m83xg.ji.  
Stacktrace:  
[1] error(::String) at ./error.jl:33  
[2] compilecache(::Base.PkgId, ::String) at ./loading.jl:1305  
[3] \_require(::Base.PkgId) at ./loading.jl:1030  
[4] require(::Base.PkgId) at ./loading.jl:928  
[5] require(::Module, ::Symbol) at ./loading.jl:923  
[6] include(::Function, ::Module, ::String) at ./Base.jl:380  
[7] include(::Module, ::String) at ./Base.jl:368  
[8] top-level scope at none:2  
[9] eval at ./boot.jl:331 [inlined]  
[10] eval(::Expr) at ./client.jl:467  
[11] top-level scope at ./none:3  
in expression starting at /home/buggi/.julia/packages/Turing/UsQlw/src/Turing.jl:14

Failed to precompile Turing [fce5fe82-541a-59a6-adf8-730c64b5f9a0] to /home/buggi/.julia/compiled/v1.5/Turing/gm4QC\_m83xg.ji.

Stacktrace:  
[1] error(::String) at ./error.jl:33  
[2] compilecache(::Base.PkgId, ::String) at ./loading.jl:1305  
[3] \_require(::Base.PkgId) at ./loading.jl:1030  
[4] require(::Base.PkgId) at ./loading.jl:928  
[5] require(::Module, ::Symbol) at ./loading.jl:923  
[6] include\_string(::Function, ::Module, ::String, ::String) at ./loading.jl:1091  
[7] execute\_code(::String, ::String) at /home/buggi/.julia/packages/IJulia/rWZ9e/src/execute\_request.jl:27  
[8] execute\_request(::ZMQ.Socket, ::IJulia.Msg) at /home/buggi/.julia/packages/IJulia/rWZ9e/src/execute\_request.jl:86  
[9] #invokelatest#1 at ./essentials.jl:710 [inlined]  
[10] invokelatest at ./essentials.jl:709 [inlined]  
[11] eventloop(::ZMQ.Socket) at /home/buggi/.julia/packages/IJulia/rWZ9e/src/eventloop.jl:8  
[12] (::IJulia.var"#15#18")() at ./task.jl:356`

---

<div class="post-metadata">

**Author:** ![Christopher\_Fisher](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/christopher_fisher/32/26132_2.png) [@Christopher\_Fisher](https://discourse.julialang.org/u/Christopher_Fisher)\
**Post date:** [October 19, 2020, 8:42pm UTC](https://discourse.julialang.org/t/help-in-installing-turing-jl/48648/2 "2020-10-19T20:42:01Z")

</div>

In the package mode, try

`build Libtask`

followed by

`add Turing`
