# Precompilation error with Julia 1.5.3 (Windows 10 64-bit)

**URL:** https://discourse.julialang.org/t/precompilation-error-with-julia-1-5-3-windows-10-64-bit/50028
**Category:** General Usage
**Tags:** julia-153
**Created:** [November 12, 2020, 7:39am UTC](https://discourse.julialang.org/t/precompilation-error-with-julia-1-5-3-windows-10-64-bit/50028 "2020-11-12T07:39:15Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![sambitdash](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/sambitdash/32/1377_2.png) [@sambitdash](https://discourse.julialang.org/u/sambitdash)
#### Post date: [November 12, 2020, 7:39am UTC](https://discourse.julialang.org/t/precompilation-error-with-julia-1-5-3-windows-10-64-bit/50028/1 "2020-11-12T07:39:15Z")

</div>

Hi All,

Is anyone else facing the same issue as well? I had installation of Julia 1.5.2 earlier. And was using packages like IJulia. Now I installed Julia 1.5.3. When I lauch Julia 1.5.3 and type `using IJulia` I see the following dump.

```julia
[Info: Precompiling IJulia [7073ff75-c697-5162-941a-fcdaad2a7d2a]
ERROR: LoadError: IOError: unlink: permission denied (EACCES)
Stacktrace:
 [1] uv_error at .\libuv.jl:97 [inlined]
 [2] unlink(::String) at .\file.jl:918
 [3] rm(::String; force::Bool, recursive::Bool) at .\file.jl:268
 [4] compilecache(::Base.PkgId, ::String) at .\loading.jl:1300
 [5] _require(::Base.PkgId) at .\loading.jl:1030
 [6] require(::Base.PkgId) at .\loading.jl:928
 [7] require(::Module, ::Symbol) at .\loading.jl:923
 [8] include(::Function, ::Module, ::String) at .\Base.jl:380
 [9] include(::Module, ::String) at .\Base.jl:368
 [10] top-level scope at none:2
 [11] eval at .\boot.jl:331 [inlined]
 [12] eval(::Expr) at .\client.jl:467
 [13] top-level scope at .\none:3
in expression starting at D:\Users\sambi\.julia\packages\ZeroMQ_jll\EGrXV\src\ZeroMQ_jll.jl:5
caused by [exception 1]
IOError: unlink: permission denied (EACCES)
Stacktrace:
 [1] uv_error at .\libuv.jl:97 [inlined]
 [2] unlink(::String) at .\file.jl:918
 [3] rm(::String; force::Bool, recursive::Bool) at .\file.jl:268
 [4] rename(::String, ::String; force::Bool) at .\file.jl:928
 [5] compilecache(::Base.PkgId, ::String) at .\loading.jl:1296
 [6] _require(::Base.PkgId) at .\loading.jl:1030
 [7] require(::Base.PkgId) at .\loading.jl:928
 [8] require(::Module, ::Symbol) at .\loading.jl:923
 [9] include(::Function, ::Module, ::String) at .\Base.jl:380
 [10] include(::Module, ::String) at .\Base.jl:368
 [11] top-level scope at none:2
 [12] eval at .\boot.jl:331 [inlined]
 [13] eval(::Expr) at .\client.jl:467
 [14] top-level scope at .\none:3
┌ Warning: temp cleanup
│ exception =
│ IOError: unlink: permission denied (EACCES)
│ Stacktrace:
│ [1] uv_error at .\libuv.jl:97 [inlined]
│ [2] unlink(::String) at .\file.jl:918
│ [3] rm(::String; force::Bool, recursive::Bool) at .\file.jl:268
│ [4] temp_cleanup_purge(::Bool) at .\file.jl:514
│ [5] temp_cleanup_purge() at .\file.jl:507
│ [6] _atexit() at .\initdefs.jl:316
│ [7] exit at .\initdefs.jl:28 [inlined]
│ [8] _start() at .\client.jl:509
└ @ Base.Filesystem file.jl:518
ERROR: LoadError: Failed to precompile ZeroMQ_jll [8f1865be-045e-5c20-9c9f-bfbfb0764568] to D:\Users\sambi\.julia\compiled\v1.5\ZeroMQ_jll\Comll_7BmpT.ji.
...

```

I cannot install `IJulia` again as that would download `Conda` and can be very time consuming. Updating the packages didn’t help. When I launch the Julia 1.5.2 instance everything works file.

Operating System: Windows 10 64-bit

regards,

Sambit

---

<div class="post-metadata">

### Author: ![abobroff](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/abobroff/32/3752_2.png) [@abobroff](https://discourse.julialang.org/u/abobroff)
#### Post date: [November 12, 2020, 10:44am UTC](https://discourse.julialang.org/t/precompilation-error-with-julia-1-5-3-windows-10-64-bit/50028/2 "2020-11-12T10:44:04Z")

</div>

I have the same problem. For any package from the depot. Some problems with precompilation:

```julia
> julia> using DataFrames
> [Info: Precompiling DataFrames [a93c6f00-e57d-5684-b7b6-d8193f3e46c0]
> ERROR: LoadError: IOError: unlink: permission denied (EACCES)
> Stacktrace:
> [1] uv_error at .\libuv.jl:97 [inlined]
> [2] unlink(::String) at .\file.jl:918
> [3] rm(::String; force::Bool, recursive::Bool) at .\file.jl:268
> [4] compilecache(::Base.PkgId, ::String) at .\loading.jl:1300
> [5] _require(::Base.PkgId) at .\loading.jl:1030
> [6] require(::Base.PkgId) at .\loading.jl:928
> [7] require(::Module, ::Symbol) at .\loading.jl:923
> [8] include(::Function, ::Module, ::String) at .\Base.jl:380
> [9] include(::Module, ::String) at .\Base.jl:368
> [10] top-level scope at none:2
> [11] eval at .\boot.jl:331 [inlined]
> [12] eval(::Expr) at .\client.jl:467
> [13] top-level scope at .\none:3
> in expression starting at C:\Julia_depot\packages\SortingAlgorithms\ENt4c\src\SortingAlgorithms.jl:5
> caused by [exception 1]
> IOError: unlink: permission denied (EACCES)
> Stacktrace:
> [1] uv_error at .\libuv.jl:97 [inlined]
> [2] unlink(::String) at .\file.jl:918
> [3] rm(::String; force::Bool, recursive::Bool) at .\file.jl:268
> [4] rename(::String, ::String; force::Bool) at .\file.jl:928
> [5] compilecache(::Base.PkgId, ::String) at .\loading.jl:1296
> [6] _require(::Base.PkgId) at .\loading.jl:1030
> [7] require(::Base.PkgId) at .\loading.jl:928
> [8] require(::Module, ::Symbol) at .\loading.jl:923
> [9] include(::Function, ::Module, ::String) at .\Base.jl:380
> [10] include(::Module, ::String) at .\Base.jl:368
> [11] top-level scope at none:2
> [12] eval at .\boot.jl:331 [inlined]
> [13] eval(::Expr) at .\client.jl:467
> [14] top-level scope at .\none:3
> ┌ Warning: temp cleanup
> │ exception =
> │ IOError: unlink: permission denied (EACCES)
> │ Stacktrace:
> │ [1] uv_error at .\libuv.jl:97 [inlined]
> │ [2] unlink(::String) at .\file.jl:918
> │ [3] rm(::String; force::Bool, recursive::Bool) at .\file.jl:268
> │ [4] temp_cleanup_purge(::Bool) at .\file.jl:514
> │ [5] temp_cleanup_purge() at .\file.jl:507
> │ [6] _atexit() at .\initdefs.jl:316
> │ [7] exit at .\initdefs.jl:28 [inlined]
> │ [8] _start() at .\client.jl:509
> └ @ Base.Filesystem file.jl:518
> ERROR: LoadError: Failed to precompile SortingAlgorithms [a2af1166-a08f-5f64-846c-94a0d3cef48c] to C:\Julia_depot\compi
> led\v1.5\SortingAlgorithms\6dCmw_aTbuW.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 C:\Julia_depot\packages\DataFrames\4ov0U\src\DataFrames.jl:4
> ERROR: Failed to precompile DataFrames [a93c6f00-e57d-5684-b7b6-d8193f3e46c0] to C:\Julia_depot\compiled\v1.5\DataFrame
> s\AR9oZ_aTbuW.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
> 
> julia>

```

My systems: Win 10 64

---

<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: [November 12, 2020, 11:08am UTC](https://discourse.julialang.org/t/precompilation-error-with-julia-1-5-3-windows-10-64-bit/50028/3 "2020-11-12T11:08:36Z")

</div>

I opened [https://github.com/JuliaLang/julia/issues/38411](https://github.com/JuliaLang/julia/issues/38411)

---

<div class="post-metadata">

### Author: ![kristoffer.carlsson](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/kristoffer.carlsson/32/22_2.png) [@kristoffer.carlsson](https://discourse.julialang.org/u/kristoffer.carlsson)
#### Post date: [November 12, 2020, 11:11am UTC](https://discourse.julialang.org/t/precompilation-error-with-julia-1-5-3-windows-10-64-bit/50028/4 "2020-11-12T11:11:41Z")

</div>

If you clear out `.julia/compiled` does it come back?

---

<div class="post-metadata">

### Author: ![abobroff](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/abobroff/32/3752_2.png) [@abobroff](https://discourse.julialang.org/u/abobroff)
#### Post date: [November 12, 2020, 12:41pm UTC](https://discourse.julialang.org/t/precompilation-error-with-julia-1-5-3-windows-10-64-bit/50028/5 "2020-11-12T12:41:46Z")

</div>

Same problem:

```julia
 julia> using DataFrames
[Info: Precompiling DataFrames [a93c6f00-e57d-5684-b7b6-d8193f3e46c0]
ERROR: LoadError: IOError: unlink: permission denied (EACCES)
Stacktrace:
 [1] uv_error at .\libuv.jl:97 [inlined]
 [2] unlink(::String) at .\file.jl:918
 [3] rm(::String; force::Bool, recursive::Bool) at .\file.jl:268
 [4] compilecache(::Base.PkgId, ::String) at .\loading.jl:1300
 [5] _require(::Base.PkgId) at .\loading.jl:1030
 [6] require(::Base.PkgId) at .\loading.jl:928
 [7] require(::Module, ::Symbol) at .\loading.jl:923
 [8] include(::Function, ::Module, ::String) at .\Base.jl:380
 [9] include(::Module, ::String) at .\Base.jl:368
 [10] top-level scope at none:2
 [11] eval at .\boot.jl:331 [inlined]
 [12] eval(::Expr) at .\client.jl:467
 [13] top-level scope at .\none:3
in expression starting at C:\Julia_depot\packages\DataFrames\4ov0U\src\DataFrames.jl:4
caused by [exception 1]
IOError: unlink: permission denied (EACCES)
Stacktrace:
 [1] uv_error at .\libuv.jl:97 [inlined]
 [2] unlink(::String) at .\file.jl:918
 [3] rm(::String; force::Bool, recursive::Bool) at .\file.jl:268
 [4] rename(::String, ::String; force::Bool) at .\file.jl:928
 [5] compilecache(::Base.PkgId, ::String) at .\loading.jl:1296
 [6] _require(::Base.PkgId) at .\loading.jl:1030
 [7] require(::Base.PkgId) at .\loading.jl:928
 [8] require(::Module, ::Symbol) at .\loading.jl:923
 [9] include(::Function, ::Module, ::String) at .\Base.jl:380
 [10] include(::Module, ::String) at .\Base.jl:368
 [11] top-level scope at none:2
 [12] eval at .\boot.jl:331 [inlined]
 [13] eval(::Expr) at .\client.jl:467
 [14] top-level scope at .\none:3
┌ Warning: temp cleanup
│ exception =
│ IOError: unlink: permission denied (EACCES)
│ Stacktrace:
│ [1] uv_error at .\libuv.jl:97 [inlined]
│ [2] unlink(::String) at .\file.jl:918
│ [3] rm(::String; force::Bool, recursive::Bool) at .\file.jl:268
│ [4] temp_cleanup_purge(::Bool) at .\file.jl:514
│ [5] temp_cleanup_purge() at .\file.jl:507
│ [6] _atexit() at .\initdefs.jl:316
│ [7] exit at .\initdefs.jl:28 [inlined]
│ [8] _start() at .\client.jl:509
└ @ Base.Filesystem file.jl:518
ERROR: Failed to precompile DataFrames [a93c6f00-e57d-5684-b7b6-d8193f3e46c0] to C:\Julia_depot\compiled\v1.5\DataFrame
s\AR9oZ_aTbuW.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

julia>

```

---

<div class="post-metadata">

### Author: ![bkamins](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/bkamins/32/208538_2.png) [@bkamins](https://discourse.julialang.org/u/bkamins)
#### Post date: [November 12, 2020, 12:51pm UTC](https://discourse.julialang.org/t/precompilation-error-with-julia-1-5-3-windows-10-64-bit/50028/6 "2020-11-12T12:51:24Z")

</div>

a workaround is to start terminal with administrator privileges and then precompile all packages.

---

<div class="post-metadata">

### Author: ![abobroff](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/abobroff/32/3752_2.png) [@abobroff](https://discourse.julialang.org/u/abobroff)
#### Post date: [November 12, 2020, 1:00pm UTC](https://discourse.julialang.org/t/precompilation-error-with-julia-1-5-3-windows-10-64-bit/50028/7 "2020-11-12T13:00:38Z")

</div>

I do not have administrator rights.

---

<div class="post-metadata">

### Author: ![johnh](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/johnh/32/3615_2.png) [@johnh](https://discourse.julialang.org/u/johnh)
#### Post date: [November 12, 2020, 4:08pm UTC](https://discourse.julialang.org/t/precompilation-error-with-julia-1-5-3-windows-10-64-bit/50028/8 "2020-11-12T16:08:22Z")

</div>

I installed Julia 1.5.3 using chocolatey. this version is still under testing/failing tests.

using IJulia works OK for me… I dont mean to be contrary…  
IJulia is v1.22.0 before any updates to the packages
