# Error Plots package installation with 1.7.1 release of Julia

**URL:** <https://discourse.julialang.org/t/error-plots-package-installation-with-1-7-1-release-of-julia/75308>\
**Category:** General Usage\
**Created:** [January 27, 2022, 5:16pm UTC](https://discourse.julialang.org/t/error-plots-package-installation-with-1-7-1-release-of-julia/75308 "2022-01-27T17:16:28Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mikel\_Antonana](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mikel_antonana/32/3095_2.png) [@Mikel\_Antonana](https://discourse.julialang.org/u/Mikel_Antonana)\
**Post date:** [January 27, 2022, 5:16pm UTC](https://discourse.julialang.org/t/error-plots-package-installation-with-1-7-1-release-of-julia/75308/1 "2022-01-27T17:16:28Z")

</div>

- I have installed 1.7.1 release of Julia, but I get the next error when I try to use Plots package

```julia
Pkg.status()
Status `~/.julia/environments/v1.7/Project.toml`
 [7073ff75] IJulia v1.23.2
 [91a5bcdd] Plots v1.25.7

```

```julia
using Plots

┌ Info: Precompiling Plots [91a5bcdd-55d7-5caf-9e0b-520d859cae80]
└ @ Base loading.jl:1423
ERROR: LoadError: ArgumentError: not a path: `/home/joseba/.julia/packages/GR/KPElO/deps/deps.jl`
Stacktrace:
 [1] RelocatableFolders.Path(mod::Module, dir::String, path::String)
   @ RelocatableFolders ~/.julia/packages/RelocatableFolders/PYUl8/src/RelocatableFolders.jl:51
 [2] top-level scope
   @ ~/.julia/packages/GR/KPElO/src/GR.jl:36
 [3] include
   @ ./Base.jl:418 [inlined]
 [4] include_package_for_output(pkg::Base.PkgId, input::String, depot_path::Vector{String}, dl_load_path::Vector{String}, load_path::Vector{String}, concrete_deps::Vector{Pair{Base.PkgId, UInt64}}, source::String)
   @ Base ./loading.jl:1318
 [5] top-level scope
   @ none:1
 [6] eval
   @ ./boot.jl:373 [inlined]
 [7] eval(x::Expr)
   @ Base.MainInclude ./client.jl:453
 [8] top-level scope
   @ none:1
in expression starting at /home/joseba/.julia/packages/GR/KPElO/src/GR.jl:2
ERROR: LoadError: Failed to precompile GR [28b8d3ca-fb5f-59d9-8090-bfdbd6d07a71] to /home/joseba/.julia/compiled/v1.7/GR/jl_qjrKCo.
Stacktrace:
  [1] error(s::String)
    @ Base ./error.jl:33
  [2] compilecache(pkg::Base.PkgId, path::String, internal_stderr::IO, internal_stdout::IO, ignore_loaded_modules::Bool)
    @ Base ./loading.jl:1466
  [3] compilecache(pkg::Base.PkgId, path::String)
    @ Base ./loading.jl:1410
  [4] _require(pkg::Base.PkgId)
    @ Base ./loading.jl:1120
  [5] require(uuidkey::Base.PkgId)
    @ Base ./loading.jl:1013
  [6] require(into::Module, mod::Symbol)
    @ Base ./loading.jl:997
  [7] include(mod::Module, _path::String)
    @ Base ./Base.jl:418
  [8] include(x::String)
    @ Plots ~/.julia/packages/Plots/YAlrZ/src/Plots.jl:1
  [9] top-level scope
    @ ~/.julia/packages/Plots/YAlrZ/src/Plots.jl:235
 [10] include
    @ ./Base.jl:418 [inlined]
 [11] include_package_for_output(pkg::Base.PkgId, input::String, depot_path::Vector{String}, dl_load_path::Vector{String}, load_path::Vector{String}, concrete_deps::Vector{Pair{Base.PkgId, UInt64}}, source::Nothing)
    @ Base ./loading.jl:1318
 [12] top-level scope
    @ none:1
 [13] eval
    @ ./boot.jl:373 [inlined]
 [14] eval(x::Expr)
    @ Base.MainInclude ./client.jl:453
 [15] top-level scope
    @ none:1
in expression starting at /home/joseba/.julia/packages/Plots/YAlrZ/src/backends/gr.jl:6
in expression starting at /home/joseba/.julia/packages/Plots/YAlrZ/src/Plots.jl:1

```

Regards

---

<div class="post-metadata">

**Author:** ![Lockon](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/lockon/32/33685_2.png) [@Lockon](https://discourse.julialang.org/u/Lockon)\
**Post date:** [May 2, 2022, 2:41am UTC](https://discourse.julialang.org/t/error-plots-package-installation-with-1-7-1-release-of-julia/75308/2 "2022-05-02T02:41:19Z")

</div>

I encountered the same problem as well, and I searched for the solution and found nothing. It seems like it lacks the file “deps.jl” on that path

---

<div class="post-metadata">

**Author:** ![Lockon](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/lockon/32/33685_2.png) [@Lockon](https://discourse.julialang.org/u/Lockon)\
**Post date:** [May 2, 2022, 2:47am UTC](https://discourse.julialang.org/t/error-plots-package-installation-with-1-7-1-release-of-julia/75308/3 "2022-05-02T02:47:45Z")

</div>

!!! After replying you, I included the “deps.jl” into my search keys, and I found: [Can't install Plots on julia-1.6.0](https://discourse.julialang.org/t/cant-install-plots-on-julia-1-6-0/59360)

may helps

---

<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:** [May 2, 2022, 5:23am UTC](https://discourse.julialang.org/t/error-plots-package-installation-with-1-7-1-release-of-julia/75308/4 "2022-05-02T05:23:15Z")

</div>

Try

```julia
using Pkg
Pkg.add("GR")
Pkg.build("GR")

```

---

<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:** [May 2, 2022, 5:24am UTC](https://discourse.julialang.org/t/error-plots-package-installation-with-1-7-1-release-of-julia/75308/5 "2022-05-02T05:24:36Z")

</div>

If that does not work, then it would be good to file an issue at [Issues · jheinen/GR.jl · GitHub](https://github.com/jheinen/GR.jl/issues) .

---

<div class="post-metadata">

**Author:** ![Carlos\_Correia](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/carlos_correia/32/36505_2.png) [@Carlos\_Correia](https://discourse.julialang.org/u/Carlos_Correia)\
**Post date:** [May 23, 2022, 8:57am UTC](https://discourse.julialang.org/t/error-plots-package-installation-with-1-7-1-release-of-julia/75308/6 "2022-05-23T08:57:32Z")

</div>

This solved my issue. Thank you.

---

<div class="post-metadata">

**Author:** ![Abdullah\_Nomeer](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/abdullah_nomeer/32/37606_2.png) [@Abdullah\_Nomeer](https://discourse.julialang.org/u/Abdullah_Nomeer)\
**Post date:** [July 2, 2022, 3:43am UTC](https://discourse.julialang.org/t/error-plots-package-installation-with-1-7-1-release-of-julia/75308/7 "2022-07-02T03:43:48Z")

</div>

Thanks man , This solved @mkitti
