# ERROR: Unsatisfiable requirements detected for package PlotsBase \[c52230a3\]:

**URL:** <https://discourse.julialang.org/t/error-unsatisfiable-requirements-detected-for-package-plotsbase-c52230a3/114390>\
**Category:** Package Management\
**Tags:** question, package\
**Created:** [May 17, 2024, 9:54am UTC](https://discourse.julialang.org/t/error-unsatisfiable-requirements-detected-for-package-plotsbase-c52230a3/114390 "2024-05-17T09:54:31Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![VinodV](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/vinodv/32/32733_2.png) [@VinodV](https://discourse.julialang.org/u/VinodV)\
**Post date:** [May 17, 2024, 9:54am UTC](https://discourse.julialang.org/t/error-unsatisfiable-requirements-detected-for-package-plotsbase-c52230a3/114390/1 "2024-05-17T09:54:31Z")

</div>

(@v1.7) pkg\> activate clean  
Activating new project at `C:\Users\abc\Desktop\clean`

(clean) pkg\> add [GitHub - JuliaPlots/Plots.jl: Powerful convenience for Julia visualizations and data analysis](https://github.com/JuliaPlots/Plots.jl)  
Updating git-repo `https://github.com/JuliaPlots/Plots.jl`  
Updating registry at `C:\Users\abc\.julia\registries\General.toml`  
Resolving package versions…  
ERROR: Unsatisfiable requirements detected for package PlotsBase [c52230a3]:  
PlotsBase [c52230a3] log:  
├─PlotsBase [c52230a3] has no known versions!  
└─restricted to versions 0.1 by Plots [91a5bcdd] — no versions left  
└─Plots [91a5bcdd] log:  
├─possible versions are: 2.0.0 or uninstalled  
└─Plots [91a5bcdd] is fixed to version 2.0.0

What is the solution ? [Julia 1.7.1]

---

<div class="post-metadata">

**Author:** ![nsajko](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/nsajko/32/221187_2.png) [@nsajko](https://discourse.julialang.org/u/nsajko)\
**Post date:** [May 17, 2024, 10:03am UTC](https://discourse.julialang.org/t/error-unsatisfiable-requirements-detected-for-package-plotsbase-c52230a3/114390/2 "2024-05-17T10:03:17Z")

</div>

Works for me on v1.7.3. Put your code into a code block, BTW. Why don’t you update Julia, BTW?

---

<div class="post-metadata">

**Author:** ![nilshg](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/nilshg/32/2283_2.png) [@nilshg](https://discourse.julialang.org/u/nilshg)\
**Post date:** [May 17, 2024, 10:03am UTC](https://discourse.julialang.org/t/error-unsatisfiable-requirements-detected-for-package-plotsbase-c52230a3/114390/3 "2024-05-17T10:03:54Z")

</div>

```julia
Plots [91a5bcdd] is fixed to version 2.0.0

```

How come? (Current Plots release is 1.40.1)

---

<div class="post-metadata">

**Author:** ![ufechner7](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ufechner7/32/51363_2.png) [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Post date:** [May 17, 2024, 10:23am UTC](https://discourse.julialang.org/t/error-unsatisfiable-requirements-detected-for-package-plotsbase-c52230a3/114390/4 "2024-05-17T10:23:34Z")

</div>

What is the output of:

```julia
using Pkg
Pkg.status()

```

?

---

<div class="post-metadata">

**Author:** ![GunnarFarneback](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/gunnarfarneback/32/1827_2.png) [@GunnarFarneback](https://discourse.julialang.org/u/GunnarFarneback)\
**Post date:** [May 17, 2024, 11:31am UTC](https://discourse.julialang.org/t/error-unsatisfiable-requirements-detected-for-package-plotsbase-c52230a3/114390/5 "2024-05-17T11:31:21Z")

</div>

If you want to install the released version of Plots, just do

```julia
pkg> add Plots

```

If you want to install the ~~master~~ default branch of Plots you also need to add some unregistered dependencies. This seems to work:

```julia
pkg> add https://github.com/JuliaPlots/Plots.jl:PlotsBase https://github.com/JuliaPlots/Plots.jl:RecipesPipeline https://github.com/JuliaPlots/Plots.jl

```

---

<div class="post-metadata">

**Author:** ![nilshg](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/nilshg/32/2283_2.png) [@nilshg](https://discourse.julialang.org/u/nilshg)\
**Post date:** [May 17, 2024, 11:42am UTC](https://discourse.julialang.org/t/error-unsatisfiable-requirements-detected-for-package-plotsbase-c52230a3/114390/6 "2024-05-17T11:42:04Z")

</div>

Ah that’s the answer, the automatic URL formatting on Discourse made me miss the fact that OP is doing `add https://github.com/JuliaPlots/Plots.jl`

---

<div class="post-metadata">

**Author:** ![BeastyBlacksmith](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/beastyblacksmith/32/4741_2.png) [@BeastyBlacksmith](https://discourse.julialang.org/u/BeastyBlacksmith)\
**Post date:** [May 17, 2024, 1:26pm UTC](https://discourse.julialang.org/t/error-unsatisfiable-requirements-detected-for-package-plotsbase-c52230a3/114390/7 "2024-05-17T13:26:28Z")

</div>

Just to be clear, this is because I changed the default branch of the Plots repo to be `v2` in preparation of the 2.0 release in the unknown future.

You can still get the latest (potentially unreleased) 1.x version via `add Plots#master`.

---

<div class="post-metadata">

**Author:** ![VinodV](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/vinodv/32/32733_2.png) [@VinodV](https://discourse.julialang.org/u/VinodV)\
**Post date:** [May 21, 2024, 11:35am UTC](https://discourse.julialang.org/t/error-unsatisfiable-requirements-detected-for-package-plotsbase-c52230a3/114390/8 "2024-05-21T11:35:11Z")

</div>

> [@GunnarFarneback](#):
>
> `add https://github.com/JuliaPlots/Plots.jl:PlotsBase https://github.com/JuliaPlots/Plots.jl:RecipesPipeline https://github.com/JuliaPlots/Plots.jl`

(@v1.7) pkg\> add [https://github.com/JuliaPlots/Plots.jl:PlotsBase](https://github.com/JuliaPlots/Plots.jl:PlotsBase) [https://github.com/JuliaPlots/Plots.jl:RecipesPipeline](https://github.com/JuliaPlots/Plots.jl:RecipesPipeline)[GitHub - JuliaPlots/Plots.jl: Powerful convenience for Julia visualizations and data analysis](https://github.com/JuliaPlots/Plots.jl)  
Updating git-repo `https://github.com/JuliaPlots/Plots.jl`  
Updating git-repo `https://github.com/JuliaPlots/Plots.jl`  
Updating git-repo `https://github.com/JuliaPlots/Plots.jl`  
Updating registry at `C:\Users\abc\.julia\registries\General.toml`  
Resolving package versions…  
Updating `C:\Users\abc\.julia\environments\v1.7\Project.toml`  
[91a5bcdd] ~ Plots v1.40.4 ⇒ v2.0.0 `https://github.com/JuliaPlots/Plots.jl#v2`  
[c52230a3] + PlotsBase v0.1.0 `https://github.com/JuliaPlots/Plots.jl:PlotsBase#v2`  
[01d81517] + RecipesPipeline v1.0.0 `https://github.com/JuliaPlots/Plots.jl:RecipesPipeline#v2`  
Updating `C:\Users\abc\.julia\environments\v1.7\Manifest.toml`  
[91a5bcdd] ~ Plots v1.40.4 ⇒ v2.0.0 `https://github.com/JuliaPlots/Plots.jl#v2`  
[c52230a3] + PlotsBase v0.1.0 `https://github.com/JuliaPlots/Plots.jl:PlotsBase#v2`  
[01d81517] ~ RecipesPipeline v0.6.12 ⇒ v1.0.0 `https://github.com/JuliaPlots/Plots.jl:RecipesPipeline#v2`  
Precompiling project…  
✗ Plots  
2 dependencies successfully precompiled in 83 seconds (164 already precompiled, 2 skipped during auto due to previous errors)  
1 dependency errored. To see a full report either run `import Pkg; Pkg.precompile()` or load the package

---

<div class="post-metadata">

**Author:** ![VinodV](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/vinodv/32/32733_2.png) [@VinodV](https://discourse.julialang.org/u/VinodV)\
**Post date:** [May 21, 2024, 11:37am UTC](https://discourse.julialang.org/t/error-unsatisfiable-requirements-detected-for-package-plotsbase-c52230a3/114390/9 "2024-05-21T11:37:34Z")

</div>

> [@ufechner7](#):
>
> ```julia
> using Pkg
> Pkg.status()
> 
> ```

```
  Status `C:\Users\abc\.julia\environments\v1.7\Project.toml`

```

[336ed68f] CSV v0.10.14  
[a93c6f00] DataFrames v1.6.1  
[91a5bcdd] Plots v2.0.0 `https://github.com/JuliaPlots/Plots.jl#v2`  
[c52230a3] PlotsBase v0.1.0 `https://github.com/JuliaPlots/Plots.jl:PlotsBase#v2`  
[438e738f] PyCall v1.96.4 `https://github.com/JuliaPy/PyCall.jl#master`  
[d330b81b] PyPlot v2.11.2  
[01d81517] RecipesPipeline v1.0.0 `https://github.com/JuliaPlots/Plots.jl:RecipesPipeline#v2`

---

<div class="post-metadata">

**Author:** ![VinodV](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/vinodv/32/32733_2.png) [@VinodV](https://discourse.julialang.org/u/VinodV)\
**Post date:** [May 21, 2024, 11:38am UTC](https://discourse.julialang.org/t/error-unsatisfiable-requirements-detected-for-package-plotsbase-c52230a3/114390/10 "2024-05-21T11:38:36Z")

</div>

> [@BeastyBlacksmith](#):
>
> `add Plots#master`

Updating git-repo `https://github.com/JuliaPlots/Plots.jl`  
Resolving package versions…  
ERROR: Unsatisfiable requirements detected for package RecipesPipeline [01d81517]:  
RecipesPipeline [01d81517] log:  
├─possible versions are: 1.0.0 or uninstalled  
├─restricted to versions 1 by PlotsBase [c52230a3], leaving only versions 1.0.0  
│ └─PlotsBase [c52230a3] log:  
│ ├─possible versions are: 0.1.0 or uninstalled  
│ └─PlotsBase [c52230a3] is fixed to version 0.1.0  
├─restricted to versions 0.6.10-0.6 by Plots [91a5bcdd] — no versions left  
│ └─Plots [91a5bcdd] log:  
│ ├─possible versions are: 1.40.5 or uninstalled  
│ └─Plots [91a5bcdd] is fixed to version 1.40.5  
└─RecipesPipeline [01d81517] is fixed to version 1.0.0

---

<div class="post-metadata">

**Author:** ![nilshg](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/nilshg/32/2283_2.png) [@nilshg](https://discourse.julialang.org/u/nilshg)\
**Post date:** [May 21, 2024, 11:51am UTC](https://discourse.julialang.org/t/error-unsatisfiable-requirements-detected-for-package-plotsbase-c52230a3/114390/11 "2024-05-21T11:51:08Z")

</div>

Why do you want to add the unreleased Plots v2 rather than just using the release version? And why do you want to do so on an old Julia release?

I’ve just checked Gunnar’s suggestion on both Julia 1.10.3 and 1.7.3 and both work fine, so in this case it’s not a Julia version issue but in general if you want to live on the bleeding edge of package development and work with unreleased versions it’s advisable to also use a current Julia version.
