Error in installing DynamicalSystems,jl

I am trying to install the DynamicalSystem.jl package but continuously facing this error. Can Someone help me with this? (Julia version- 1.6.3)

julia> Pkg.add("DynamicalSystems")
   Resolving package versions...
ERROR: Unsatisfiable requirements detected for package Wavelets [29a6e085]:
 Wavelets [29a6e085] log:
 ├─possible versions are: 0.7.0-0.9.3 or uninstalled
 ├─restricted by compatibility requirements with FFTW [7a1cc6ca] to versions: [0.7.0-0.8.0, 0.9.2-0.9.3] or uninstalled
 │ └─FFTW [7a1cc6ca] log:
 │   ├─possible versions are: 0.1.0-1.4.5 or uninstalled
 │   ├─restricted by compatibility requirements with Oceananigans [9e8cae18] to versions: 0.1.0-1.4.5
 │   │ └─Oceananigans [9e8cae18] log:
 │   │   ├─possible versions are: 0.5.1-0.66.1 or uninstalled
 │   │   ├─restricted to versions * by an explicit requirement, leaving only versions 0.5.1-0.66.1
 │   │   ├─restricted by compatibility requirements with CUDA [052768ef] to versions: [0.5.1-0.30.0, 0.44.1-0.66.1] or uninstalled, leaving only versions: [0.5.1-0.30.0, 0.44.1-0.66.1]
 │   │   │ └─CUDA [052768ef] log:
 │   │   │   ├─possible versions are: 0.1.0-3.5.0 or uninstalled
 │   │   │   ├─restricted to versions * by an explicit requirement, leaving only versions 0.1.0-3.5.0
 │   │   │   └─restricted by julia compatibility requirements to versions: [2.3.0, 2.5.0-3.5.0] or uninstalled, leaving only versions: [2.3.0, 2.5.0-3.5.0]
 │   │   ├─restricted by compatibility requirements with Adapt [79e6a3ab] to versions: [0.5.1-0.5.3, 0.31.0-0.66.1] or uninstalled, leaving only versions: [0.5.1-0.5.3, 0.44.1-0.66.1]
 │   │   │ └─Adapt [79e6a3ab] log:
 │   │   │   ├─possible versions are: 0.3.0-3.3.1 or uninstalled
 │   │   │   └─restricted by compatibility requirements with CUDA [052768ef] to versions: 2.2.0-3.3.1
 │   │   │     └─CUDA [052768ef] log: see above
 │   │   ├─restricted by compatibility requirements with CuArrays [3a865a2d] to versions: [0.5.1, 0.31.0-0.66.1] or uninstalled, leaving only versions: [0.5.1, 0.44.1-0.66.1]
 │   │   │ └─CuArrays [3a865a2d] log:
 │   │   │   ├─possible versions are: 0.2.1-2.2.2 or uninstalled
 │   │   │   └─restricted by julia compatibility requirements to versions: uninstalled
 │   │   ├─restricted by compatibility requirements with StaticArrays [90137ffa] to versions: [0.5.1, 0.12.0-0.37.0, 0.45.0-0.66.1] or uninstalled, leaving only versions: [0.5.1, 0.45.0-0.66.1]
 │   │   │ └─StaticArrays [90137ffa] log:
 │   │   │   ├─possible versions are: 0.8.0-1.2.13 or uninstalled
 │   │   │   ├─restricted to versions * by an explicit requirement, leaving only versions 0.8.0-1.2.13
 │   │   │   └─restricted by compatibility requirements with OpticSim [24114763] to versions: 1.0.0-1.2.13
 │   │   │     └─OpticSim [24114763] log:
 │   │   │       ├─possible versions are: 0.3.0-0.5.2 or uninstalled
 │   │   │       └─restricted to versions * by an explicit requirement, leaving only versions 0.3.0-0.5.2
 │   │   └─restricted by compatibility requirements with FFTW [7a1cc6ca] to versions: 0.5.2-0.66.1 or uninstalled, leaving only versions: 0.45.0-0.66.1
 │   │     └─FFTW [7a1cc6ca] log: see above
 │   ├─restricted by compatibility requirements with KitBase [86eed249] to versions: 1.0.0-1.4.5
 │   │ └─KitBase [86eed249] log:
 │   │   ├─possible versions are: 0.1.0-0.7.3 or uninstalled
 │   │   └─restricted by compatibility requirements with KitML [b2531deb] to versions: [0.1.0, 0.3.0-0.7.3]
 │   │     └─KitML [b2531deb] log:
 │   │       ├─possible versions are: 0.1.0-0.4.1 or uninstalled
 │   │       └─restricted to versions * by an explicit requirement, leaving only versions 0.1.0-0.4.1
 │   └─restricted by compatibility requirements with AbstractFFTs [621f4979] to versions: 1.1.0-1.4.5 or uninstalled, leaving only versions: 1.1.0-1.4.5
 │     └─AbstractFFTs [621f4979] log:
 │       ├─possible versions are: 0.3.0-1.0.1 or uninstalled
 │       ├─restricted by compatibility requirements with CUDA [052768ef] to versions: 0.4.0-1.0.1
 │       │ └─CUDA [052768ef] log: see above
 │       └─restricted by compatibility requirements with Zygote [e88e6eb3] to versions: 0.5.0-1.0.1
 │         └─Zygote [e88e6eb3] log:
 │           ├─possible versions are: 0.1.0-0.6.30 or uninstalled
 │           └─restricted by compatibility requirements with OpticSim [24114763] to versions: 0.6.0-0.6.30
 │             └─OpticSim [24114763] log: see above
 ├─restricted by compatibility requirements with Compat [34da2185] to versions: 0.9.0-0.9.3 or uninstalled, leaving only versions: 0.9.2-0.9.3 or uninstalled
 │ └─Compat [34da2185] log:
 │   ├─possible versions are: 1.0.0-3.40.0 or uninstalled
 │   └─restricted by compatibility requirements with DataFrames [a93c6f00] to versions: 3.17.0-3.40.0
 │     └─DataFrames [a93c6f00] log:
 │       ├─possible versions are: 0.11.7-1.2.2 or uninstalled
 │       ├─restricted to versions * by an explicit requirement, leaving only versions 0.11.7-1.2.2
 │       └─restricted by compatibility requirements with OpticSim [24114763] to versions: 0.22.0-1.2.2
 │         └─OpticSim [24114763] log: see above
 ├─restricted by compatibility requirements with Entropies [ed8fcbec] to versions: 0.9.0-0.9.3, leaving only versions: 0.9.2-0.9.3
 │ └─Entropies [ed8fcbec] log:
 │   ├─possible versions are: 0.1.0-1.1.0 or uninstalled
 │   ├─restricted to versions * by an explicit requirement, leaving only versions 0.1.0-1.1.0
 │   ├─restricted by compatibility requirements with StaticArrays [90137ffa] to versions: [0.1.0, 0.10.4-1.1.0] or uninstalled, leaving only versions: [0.1.0, 0.10.4-1.1.0]
 │   │ └─StaticArrays [90137ffa] log: see above
 │   ├─restricted by compatibility requirements with ChaosTools [608a59af] to versions: 0.9.0-1.1.0, leaving only versions: 0.10.4-1.1.0
 │   │ └─ChaosTools [608a59af] log:
 │   │   ├─possible versions are: 0.12.0-2.6.1 or uninstalled
 │   │   ├─restricted by compatibility requirements with DynamicalSystems [61744808] to versions: 1.0.0-2.6.1
 │   │   │ └─DynamicalSystems [61744808] log:
 │   │   │   ├─possible versions are: 1.0.0-2.1.3 or uninstalled
 │   │   │   ├─restricted to versions * by an explicit requirement, leaving only versions 1.0.0-2.1.3
 │   │   │   └─restricted by compatibility requirements with StaticArrays [90137ffa] to versions: 1.7.1-2.1.3 or uninstalled, leaving only versions: 1.7.1-2.1.3
 │   │   │     └─StaticArrays [90137ffa] log: see above
 │   │   ├─restricted by compatibility requirements with StaticArrays [90137ffa] to versions: 1.20.0-2.6.1 or uninstalled, leaving only versions: 1.20.0-2.6.1
 │   │   │ └─StaticArrays [90137ffa] log: see above
 │   │   └─restricted by compatibility requirements with DynamicalSystems [61744808] to versions: 1.21.1-2.6.1
 │   │     └─DynamicalSystems [61744808] log: see above
 │   └─restricted by compatibility requirements with DynamicalSystems [61744808] to versions: 0.11.0-1.1.0
 │     └─DynamicalSystems [61744808] log: see above
 └─restricted by compatibility requirements with DSP [717857b8] to versions: uninstalled — no versions left
   └─DSP [717857b8] log:
     ├─possible versions are: 0.5.1-0.7.3 or uninstalled
     ├─restricted by compatibility requirements with ChaosTools [608a59af] to versions: 0.6.0-0.7.3
     │ └─ChaosTools [608a59af] log: see above
     └─restricted by compatibility requirements with Polynomials [f27b6e38] to versions: 0.7.0-0.7.3 or uninstalled, leaving only versions: 0.7.0-0.7.3
       └─Polynomials [f27b6e38] log:
         ├─possible versions are: 0.5.0-2.0.18 or uninstalled
         ├─restricted to versions * by an explicit requirement, leaving only versions 0.5.0-2.0.18
         └─restricted by compatibility requirements with OpticSim [24114763] to versions: 2.0.0-2.0.18
           └─OpticSim [24114763] log: see above

Are you working with the global environment? 4. Working with Environments · Pkg.jl

1 Like

It seems , this was happening due to OpticSim. I have uninstalled that and now DynamicalSystem is working fine.