# Fresh julia 1.5 install and turing error

**URL:** <https://discourse.julialang.org/t/fresh-julia-1-5-install-and-turing-error/44255>\
**Category:** Probabilistic Programming\
**Created:** [August 4, 2020, 12:50pm UTC](https://discourse.julialang.org/t/fresh-julia-1-5-install-and-turing-error/44255 "2020-08-04T12:50:49Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![spinkney](https://avatars.discourse-cdn.com/v4/letter/s/dec6dc/32.png) [@spinkney](https://discourse.julialang.org/u/spinkney)\
**Post date:** [August 4, 2020, 12:50pm UTC](https://discourse.julialang.org/t/fresh-julia-1-5-install-and-turing-error/44255/1 "2020-08-04T12:50:49Z")

</div>

Just installed Julia 1.5 on macbook pro running catalina 10.15.6. I did `import Pkg; Pkg.add("Turing")` along with `StatsPlots` and `Random`. I then tried the demo in the turing manual and get an error right away:

```julia
julia> using Turing, StatsPlots, Random
[Info: Precompiling Turing [fce5fe82-541a-59a6-adf8-730c64b5f9a0]
ERROR: LoadError: LoadError: syntax: unexpected semicolon in tuple around /Users/pinkney/.julia/packages/Zygote/bdE6T/src/lib/lib.jl:30
Stacktrace:
 [1] top-level scope at /Users/pinkney/.julia/packages/Zygote/bdE6T/src/lib/lib.jl:30
 [2] include(::Function, ::Module, ::String) at ./Base.jl:380
 [3] include at ./Base.jl:368 [inlined]
 [4] include(::String) at /Users/pinkney/.julia/packages/Zygote/bdE6T/src/Zygote.jl:1
 [5] top-level scope at /Users/pinkney/.julia/packages/Zygote/bdE6T/src/Zygote.jl:31
 [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 /Users/pinkney/.julia/packages/Zygote/bdE6T/src/lib/lib.jl:30
in expression starting at /Users/pinkney/.julia/packages/Zygote/bdE6T/src/Zygote.jl:31
ERROR: LoadError: LoadError: Failed to precompile Zygote [e88e6eb3-aa80-5325-afca-941959d7151f] to /Users/pinkney/.julia/compiled/v1.5/Zygote/4kbLI_wedAW.ji.
Stacktrace:
 [1] error(::String) at ./error.jl:33
 [2] compilecache(::Base.PkgId, ::String) at ./loading.jl:1290
 [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 at ./Base.jl:368 [inlined]
 [8] include(::String) at /Users/pinkney/.julia/packages/Turing/xFzfF/src/Turing.jl:1
 [9] top-level scope at /Users/pinkney/.julia/packages/Turing/xFzfF/src/Turing.jl:126
 [10] include(::Function, ::Module, ::String) at ./Base.jl:380
 [11] include(::Module, ::String) at ./Base.jl:368
 [12] top-level scope at none:2
 [13] eval at ./boot.jl:331 [inlined]
 [14] eval(::Expr) at ./client.jl:467
 [15] top-level scope at ./none:3
in expression starting at /Users/pinkney/.julia/packages/Turing/xFzfF/src/core/Core.jl:9
in expression starting at /Users/pinkney/.julia/packages/Turing/xFzfF/src/Turing.jl:126
ERROR: Failed to precompile Turing [fce5fe82-541a-59a6-adf8-730c64b5f9a0] to /Users/pinkney/.julia/compiled/v1.5/Turing/gm4QC_wedAW.ji.
Stacktrace:
 [1] error(::String) at ./error.jl:33
 [2] compilecache(::Base.PkgId, ::String) at ./loading.jl:1290
 [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:1088

```

---

<div class="post-metadata">

**Author:** ![MatFi](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/matfi/32/10002_2.png) [@MatFi](https://discourse.julialang.org/u/MatFi)\
**Post date:** [August 4, 2020, 12:57pm UTC](https://discourse.julialang.org/t/fresh-julia-1-5-install-and-turing-error/44255/2 "2020-08-04T12:57:12Z")

</div>

can you update the packages using `]up` ?

---

<div class="post-metadata">

**Author:** ![spinkney](https://avatars.discourse-cdn.com/v4/letter/s/dec6dc/32.png) [@spinkney](https://discourse.julialang.org/u/spinkney)\
**Post date:** [August 4, 2020, 1:09pm UTC](https://discourse.julialang.org/t/fresh-julia-1-5-install-and-turing-error/44255/3 "2020-08-04T13:09:30Z")

</div>

> [@MatFi](#):
>
> ]up

Yah! That worked. First time back to Julia since 1.0. Was under the impression that a fresh install would work out of the box. Thanks for the solution.

---

<div class="post-metadata">

**Author:** ![MatFi](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/matfi/32/10002_2.png) [@MatFi](https://discourse.julialang.org/u/MatFi)\
**Post date:** [August 4, 2020, 1:28pm UTC](https://discourse.julialang.org/t/fresh-julia-1-5-install-and-turing-error/44255/4 "2020-08-04T13:28:04Z")

</div>

great, Welcome back
