# How resolve compatibility with InteractiveDynamics package?

**URL:** https://discourse.julialang.org/t/how-resolve-compatibility-with-interactivedynamics-package/62014
**Category:** General Usage
**Tags:** package
**Created:** [May 28, 2021, 7:47pm UTC](https://discourse.julialang.org/t/how-resolve-compatibility-with-interactivedynamics-package/62014 "2021-05-28T19:47:48Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![murrayE](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/murraye/32/24428_2.png) [@murrayE](https://discourse.julialang.org/u/murrayE)
#### Post date: [May 28, 2021, 7:47pm UTC](https://discourse.julialang.org/t/how-resolve-compatibility-with-interactivedynamics-package/62014/1 "2021-05-28T19:47:48Z")

</div>

I’m a new Julia programmer and want to use the InteractiveDynamics package. But when I try to add it, I get the following error report. How can I resolve this?

```julia
@v1.6) pkg> add InteractiveDynamics
   Resolving package versions...
ERROR: Unsatisfiable requirements detected for package Colors [5ae59095]:
 Colors [5ae59095] log:
 ├─possible versions are: 0.9.0-0.12.8 or uninstalled
 ├─restricted to versions * by ComplexPortraits [17699382], leaving only versions 0.9.0-0.12.8
 │ └─ComplexPortraits [17699382] log:
 │ ├─possible versions are: 0.2.0 or uninstalled
 │ └─ComplexPortraits [17699382] is fixed to version 0.2.0
 ├─restricted by compatibility requirements with FreeTypeAbstraction [663a7486] to versions: 0.11.0-0.12.8
 │ └─FreeTypeAbstraction [663a7486] log:
 │ ├─possible versions are: 0.4.0-0.9.1 or uninstalled
 │ ├─restricted by compatibility requirements with AbstractPlotting [537997a7] to versions: 0.4.0-0.9.1
 │ │ └─AbstractPlotting [537997a7] log:
 │ │ ├─possible versions are: 0.9.0-0.18.2 or uninstalled
 │ │ ├─restricted to versions * by an explicit requirement, leaving only versions 0.9.0-0.18.2
 │ │ └─restricted by compatibility requirements with InteractiveDynamics [ec714cd0] to versions: 0.15.0-0.18.2
 │ │ └─InteractiveDynamics [ec714cd0] log:
 │ │ ├─possible versions are: 0.13.0-0.14.6 or uninstalled
 │ │ └─restricted to versions * by an explicit requirement, leaving only versions 0.13.0-0.14.6
 │ └─restricted by compatibility requirements with AbstractPlotting [537997a7] to versions: 0.8.0-0.9.1
 │ └─AbstractPlotting [537997a7] log: see above
 ├─restricted by compatibility requirements with ColorTypes [3da002f7] to versions: 0.9.6-0.11.2 or uninstalled, leaving only versions: 0.11.0-0.11.2
 │ └─ColorTypes [3da002f7] log:
 │ ├─possible versions are: 0.7.0-0.11.0 or uninstalled
 │ ├─restricted to versions * by ComplexPortraits [17699382], leaving only versions 0.7.0-0.11.0
 │ │ └─ComplexPortraits [17699382] log: see above
 │ ├─restricted by compatibility requirements with AbstractPlotting [537997a7] to versions: 0.8.0-0.11.0
 │ │ └─AbstractPlotting [537997a7] log: see above
 │ └─restricted by compatibility requirements with QuartzImageIO [dca85d43] to versions: 0.7.0-0.9.1, leaving only versions: 0.8.0-0.9.1
 │ └─QuartzImageIO [dca85d43] log:
 │ ├─possible versions are: 0.5.0-0.7.4 or uninstalled
 │ ├─restricted by compatibility requirements with Luxor [ae8d54c2] to versions: 0.5.0-0.6.0
 │ │ └─Luxor [ae8d54c2] log:
 │ │ ├─possible versions are: 0.11.0-2.11.0 or uninstalled
 │ │ └─restricted to versions 1 by ThinkJulia [a7f2b756], leaving only versions 1.0.0-1.12.0
 │ │ └─ThinkJulia [a7f2b756] log:
 │ │ ├─possible versions are: 0.0.0 or uninstalled
 │ │ └─ThinkJulia [a7f2b756] is fixed to version 0.0.0
 │ └─restricted by compatibility requirements with FixedPointNumbers [53c48c17] to versions: 0.6.0-0.7.4 or uninstalled, leaving only versions: 0.6.0
 │ └─FixedPointNumbers [53c48c17] log:
 │ ├─possible versions are: 0.5.0-0.8.4 or uninstalled
 │ ├─restricted by compatibility requirements with Colors [5ae59095] to versions: 0.5.0-0.8.4
 │ │ └─Colors [5ae59095] log: see above
 │ ├─restricted by compatibility requirements with AbstractPlotting [537997a7] to versions: 0.6.0-0.8.4
 │ │ └─AbstractPlotting [537997a7] log: see above
 │ └─restricted by compatibility requirements with QuartzImageIO [dca85d43] to versions: 0.5.0-0.7.1, leaving only versions: 0.6.0-0.7.1
 │ └─QuartzImageIO [dca85d43] log: see above
 └─restricted by compatibility requirements with PlotUtils [995b91a9] to versions: 0.12.0-0.12.8 — no versions left
   └─PlotUtils [995b91a9] log:
     ├─possible versions are: 0.5.0-1.0.10 or uninstalled
     ├─restricted by compatibility requirements with AbstractPlotting [537997a7] to versions: 0.5.0-1.0.10
     │ └─AbstractPlotting [537997a7] log: see above
     └─restricted by compatibility requirements with AbstractPlotting [537997a7] to versions: 1.0.0-1.0.10
       └─AbstractPlotting [537997a7] log: see above

```

---

<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 28, 2021, 8:33pm UTC](https://discourse.julialang.org/t/how-resolve-compatibility-with-interactivedynamics-package/62014/2 "2021-05-28T20:33:44Z")

</div>

See [Should we have a package update PSA?](https://discourse.julialang.org/t/should-we-have-a-package-update-psa/61923)

In short - don’t dump everything into the same environment, but work in project environments comprising only the limited set of packages you actually need.

---

<div class="post-metadata">

### Author: ![murrayE](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/murraye/32/24428_2.png) [@murrayE](https://discourse.julialang.org/u/murrayE)
#### Post date: [May 28, 2021, 9:20pm UTC](https://discourse.julialang.org/t/how-resolve-compatibility-with-interactivedynamics-package/62014/3 "2021-05-28T21:20:48Z")

</div>

So I tried the following in the REPL:

mkdir(“MyDynamics”)  
cd("MyDynamics”)

(@v1.6) ] pkg\> activate  
(@v1.6) pkg\> add InteractiveDynamics

And I get the same compatibility issue as before:

Updating registry at `~/.julia/registries/General`  
Resolving package versions…  
ERROR: Unsatisfiable requirements detected for package Colors [5ae59095]:  
Colors [5ae59095] log:  
├─possible versions are: 0.9.0-0.12.8 or uninstalled  
├─restricted to versions \* by ComplexPortraits [17699382], leaving only versions 0.9.0-0.12.8  
│ └─ComplexPortraits [17699382] log:  
│ ├─possible versions are: 0.2.0 or uninstalled  
│ └─ComplexPortraits [17699382] is fixed to version 0.2.0  
├─restricted by compatibility requirements with FreeTypeAbstraction [663a7486] to versions: 0.11.0-0.12.8  
│ └─FreeTypeAbstraction [663a7486] log:  
│ ├─possible versions are: 0.4.0-0.9.1 or uninstalled  
│ ├─restricted by compatibility requirements with AbstractPlotting [537997a7] to versions: 0.4.0-0.9.1  
│ │ └─AbstractPlotting [537997a7] log:  
│ │ ├─possible versions are: 0.9.0-0.18.2 or uninstalled  
│ │ ├─restricted to versions \* by an explicit requirement, leaving only versions 0.9.0-0.18.2  
│ │ └─restricted by compatibility requirements with InteractiveDynamics [ec714cd0] to versions: 0.15.0-0.18.2  
│ │ └─InteractiveDynamics [ec714cd0] log:  
│ │ ├─possible versions are: 0.13.0-0.14.6 or uninstalled  
│ │ └─restricted to versions \* by an explicit requirement, leaving only versions 0.13.0-0.14.6  
│ └─restricted by compatibility requirements with AbstractPlotting [537997a7] to versions: 0.8.0-0.9.1  
│ └─AbstractPlotting [537997a7] log: see above  
├─restricted by compatibility requirements with ColorTypes [3da002f7] to versions: 0.9.6-0.11.2 or uninstalled, leaving only versions: 0.11.0-0.11.2  
│ └─ColorTypes [3da002f7] log:  
│ ├─possible versions are: 0.7.0-0.11.0 or uninstalled  
│ ├─restricted to versions \* by ComplexPortraits [17699382], leaving only versions 0.7.0-0.11.0  
│ │ └─ComplexPortraits [17699382] log: see above  
│ ├─restricted by compatibility requirements with AbstractPlotting [537997a7] to versions: 0.8.0-0.11.0  
│ │ └─AbstractPlotting [537997a7] log: see above  
│ └─restricted by compatibility requirements with QuartzImageIO [dca85d43] to versions: 0.7.0-0.9.1, leaving only versions: 0.8.0-0.9.1  
│ └─QuartzImageIO [dca85d43] log:  
│ ├─possible versions are: 0.5.0-0.7.4 or uninstalled  
│ ├─restricted by compatibility requirements with Luxor [ae8d54c2] to versions: 0.5.0-0.6.0  
│ │ └─Luxor [ae8d54c2] log:  
│ │ ├─possible versions are: 0.11.0-2.11.0 or uninstalled  
│ │ └─restricted to versions 1 by ThinkJulia [a7f2b756], leaving only versions 1.0.0-1.12.0  
│ │ └─ThinkJulia [a7f2b756] log:  
│ │ ├─possible versions are: 0.0.0 or uninstalled  
│ │ └─ThinkJulia [a7f2b756] is fixed to version 0.0.0  
│ └─restricted by compatibility requirements with FixedPointNumbers [53c48c17] to versions: 0.6.0-0.7.4 or uninstalled, leaving only versions: 0.6.0  
│ └─FixedPointNumbers [53c48c17] log:  
│ ├─possible versions are: 0.5.0-0.8.4 or uninstalled  
│ ├─restricted by compatibility requirements with Colors [5ae59095] to versions: 0.5.0-0.8.4  
│ │ └─Colors [5ae59095] log: see above  
│ ├─restricted by compatibility requirements with AbstractPlotting [537997a7] to versions: 0.6.0-0.8.4  
│ │ └─AbstractPlotting [537997a7] log: see above  
│ └─restricted by compatibility requirements with QuartzImageIO [dca85d43] to versions: 0.5.0-0.7.1, leaving only versions: 0.6.0-0.7.1  
│ └─QuartzImageIO [dca85d43] log: see above  
└─restricted by compatibility requirements with PlotUtils [995b91a9] to versions: 0.12.0-0.12.8 — no versions left  
└─PlotUtils [995b91a9] log:  
├─possible versions are: 0.5.0-1.0.10 or uninstalled  
├─restricted by compatibility requirements with AbstractPlotting [537997a7] to versions: 0.5.0-1.0.10  
│ └─AbstractPlotting [537997a7] log: see above  
└─restricted by compatibility requirements with AbstractPlotting [537997a7] to versions: 1.0.0-1.0.10  
└─AbstractPlotting [537997a7] log: see above

---

<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 29, 2021, 6:35am UTC](https://discourse.julialang.org/t/how-resolve-compatibility-with-interactivedynamics-package/62014/4 "2021-05-29T06:35:17Z")

</div>

You’re still in the default environment, when you just call activate with no arguments it activates the default environment (think of `cd` with no arguments taking you back to the home directory). You want `activate .`

---

<div class="post-metadata">

### Author: ![murrayE](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/murraye/32/24428_2.png) [@murrayE](https://discourse.julialang.org/u/murrayE)
#### Post date: [May 29, 2021, 3:14pm UTC](https://discourse.julialang.org/t/how-resolve-compatibility-with-interactivedynamics-package/62014/5 "2021-05-29T15:14:55Z")

</div>

OK, got it, thanks.

Is this procedure explicitly documented somewhere (as opposed to having to infer it by piecing together disparate parts of the documentation)?

---

<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 29, 2021, 6:09pm UTC](https://discourse.julialang.org/t/how-resolve-compatibility-with-interactivedynamics-package/62014/6 "2021-05-29T18:09:04Z")

</div>

Yes, it’s all documented - if you got to the link above, Tamas in one of the first replies links to this part of the documentation [3. Managing Packages · Pkg.jl](https://pkgdocs.julialang.org/dev/managing-packages/#conflicts) which deals with conflicts and how to interpret the conflict messages.

The other bit - working in environments and activating an environment in a new directory is documented here: [4. Working with Environments · Pkg.jl](https://pkgdocs.julialang.org/dev/environments/) (indeed your sequence of `mkdir`, `cd`, `]activate .` is the first example)

---

<div class="post-metadata">

### Author: ![murrayE](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/murraye/32/24428_2.png) [@murrayE](https://discourse.julialang.org/u/murrayE)
#### Post date: [May 29, 2021, 6:56pm UTC](https://discourse.julialang.org/t/how-resolve-compatibility-with-interactivedynamics-package/62014/7 "2021-05-29T18:56:11Z")

</div>

Ahh … I missed the dot in “activate . “ later.
