Unable to add MLJ.jl package multiple unsatisfiable requirements

julia> Pkg.add(url=“https://github.com/alan-turing-institute/MLJ.jl”)
Updating git-repo https://github.com/alan-turing-institute/MLJ.jl
Resolving package versions…
ERROR: Unsatisfiable requirements detected for package Flux [587475ba]:
Flux [587475ba] log:
├─possible versions are: [0.4.1, 0.5.0-0.5.4, 0.6.0-0.6.10, 0.7.0-0.7.3, 0.8.0-0.8.3, 0.9.0, 0.10.0-0.10.4, 0.11.0-0.11.1] or uninstalled
├─restricted by compatibility requirements with TextAnalysis [a2db99b7] to versions: [0.4.1, 0.5.0-0.5.4, 0.6.0-0.6.10, 0.7.0-0.7.3, 0.8.0-0.8.3, 0.9.0]
│ └─TextAnalysis [a2db99b7] log:
│ ├─possible versions are: [0.5.0, 0.6.0] or uninstalled
│ └─restricted to versions * by an explicit requirement, leaving only versions [0.5.0, 0.6.0]
└─restricted by compatibility requirements with Colors [5ae59095] to versions: [0.10.2-0.10.4, 0.11.0-0.11.1] or uninstalled — no versions left
└─Colors [5ae59095] log:
├─possible versions are: [0.9.0, 0.9.2-0.9.6, 0.10.0-0.10.2, 0.11.0-0.11.2, 0.12.0-0.12.4] or uninstalled
├─restricted by compatibility requirements with Gadfly [c91e804a] to versions: [0.9.0, 0.9.2-0.9.6, 0.10.0-0.10.2, 0.11.0-0.11.2, 0.12.0-0.12.4]
│ └─Gadfly [c91e804a] log:
│ ├─possible versions are: [0.8.0, 1.0.0-1.0.1, 1.1.0, 1.2.0-1.2.1, 1.3.0-1.3.1] or uninstalled
│ ├─restricted to versions * by an explicit requirement, leaving only versions [0.8.0, 1.0.0-1.0.1, 1.1.0, 1.2.0-1.2.1, 1.3.0-1.3.1]
│ ├─restricted by compatibility requirements with CategoricalArrays [324d7699] to versions: [0.8.0, 1.3.0-1.3.1] or uninstalled, leaving only versions: [0.8.0, 1.3.0-1.3.1] │ │ └─CategoricalArrays [324d7699] log:
│ │ ├─possible versions are: [0.3.11, 0.3.13-0.3.14, 0.4.0, 0.5.0-0.5.5, 0.6.0, 0.7.0-0.7.7, 0.8.0-0.8.3] or uninstalled
│ │ ├─restricted to versions 0.8 by MLJ [add582a8], leaving only versions 0.8.0-0.8.3
│ │ │ └─MLJ [add582a8] log:
│ │ │ ├─possible versions are: 0.14.0 or uninstalled
│ │ │ └─MLJ [add582a8] is fixed to version 0.14.0
│ │ └─restricted to versions 0.8.3-0.8 by DataFrames [a93c6f00], leaving only versions 0.8.3
│ │ └─DataFrames [a93c6f00] log:
│ │ ├─possible versions are: 0.21.7 or uninstalled
│ │ └─DataFrames [a93c6f00] is fixed to version 0.21.7
│ └─restricted by compatibility requirements with Distributions [31c24e10] to versions: [1.2.0-1.2.1, 1.3.0-1.3.1] or uninstalled, leaving only versions: 1.3.0-1.3.1
│ └─Distributions [31c24e10] log:
│ ├─possible versions are: [0.16.0-0.16.4, 0.17.0, 0.18.0, 0.19.1-0.19.2, 0.20.0, 0.21.0-0.21.3, 0.21.5-0.21.12, 0.22.0-0.22.6, 0.23.0-0.23.12, 0.24.0] or uninstalled
│ ├─restricted to versions 0.21-0.23 by MLJ [add582a8], leaving only versions [0.21.0-0.21.3, 0.21.5-0.21.12, 0.22.0-0.22.6, 0.23.0-0.23.12]
│ │ └─MLJ [add582a8] log: see above
│ └─restricted by compatibility requirements with MLJBase [a7f614a8] to versions: [0.22.0-0.22.6, 0.23.0-0.23.12]
│ └─MLJBase [a7f614a8] log:
│ ├─possible versions are: [0.1.0-0.1.1, 0.2.0-0.2.6, 0.3.0, 0.4.0, 0.5.0, 0.6.0, 0.7.0-0.7.5, 0.8.0-0.8.4, 0.9.0-0.9.2, 0.10.0-0.10.1, 0.11.0-0.11.10, 0.12.0-0.12.8, 0.13.0-0.13.10, 0.14.0-0.14.9, 0.15.0-0.15.2] or uninstalled
│ └─restricted to versions 0.15.1-0.15 by MLJ [add582a8], leaving only versions 0.15.1-0.15.2
│ └─MLJ [add582a8] log: see above
└─restricted by compatibility requirements with ColorTypes [3da002f7] to versions: [0.11.0-0.11.2, 0.12.0-0.12.4] or uninstalled, leaving only versions: [0.11.0-0.11.2, 0.12.0-0.12.4]
└─ColorTypes [3da002f7] log:
├─possible versions are: [0.7.0-0.7.5, 0.8.0-0.8.1, 0.9.0-0.9.1, 0.10.0-0.10.9] or uninstalled
├─restricted to versions * by an explicit requirement, leaving only versions [0.7.0-0.7.5, 0.8.0-0.8.1, 0.9.0-0.9.1, 0.10.0-0.10.9]
└─restricted by compatibility requirements with MLJScientificTypes [2e2323e0] to versions: [0.9.0-0.9.1, 0.10.0-0.10.9]
└─MLJScientificTypes [2e2323e0] log:
├─possible versions are: [0.1.0-0.1.1, 0.2.0-0.2.8, 0.3.0] or uninstalled
└─restricted to versions 0.3 by MLJ [add582a8], leaving only versions 0.3.0
└─MLJ [add582a8] log: see above

Create a new environment (go to a folder, activate it ] activate . and add MLJ there

You have existing installations in your general environment which are in conflicting and To avoid having to remove them, the best route is a new dedicated environment

4 Likes