When I tried to add Zygote.jl into Julia 1.3, it reported the following issues.
Any ideas on how to solve it?
Thanks
(v1.3) pkg> add Zygote
Updating registry at `~/.julia/registries/General`
Updating git-repo `https://github.com/JuliaRegistries/General.git`
Resolving package versions...
ERROR: Unsatisfiable requirements detected for package Zygote [e88e6eb3]:
Zygote [e88e6eb3] log:
ββpossible versions are: [0.1.0, 0.2.0, 0.3.0-0.3.4, 0.4.0-0.4.1] or uninstalled
ββrestricted to versions * by an explicit requirement, leaving only versions [0.1.0, 0.2.0, 0.3.0-0.3.4, 0.4.0-0.4.1]
ββrestricted by compatibility requirements with FFTW [7a1cc6ca] to versions: [0.1.0, 0.2.0, 0.3.0-0.3.4] or uninstalled, leaving only versions: [0.1.0, 0.2.0, 0.3.0-0.3.4]
β ββFFTW [7a1cc6ca] log:
β ββpossible versions are: [0.1.0-0.1.2, 0.2.0-0.2.4, 0.3.0, 1.0.0-1.0.1, 1.1.0] or uninstalled
β ββrestricted to versions 0.3.0 by an explicit requirement, leaving only versions 0.3.0
ββrestricted by compatibility requirements with ZygoteRules [700de1a5] to versions: [0.1.0, 0.2.0, 0.3.0-0.3.2, 0.4.0-0.4.1] or uninstalled, leaving only versions: [0.1.0, 0.2.0, 0.3.0-0.3.2]
β ββZygoteRules [700de1a5] log:
β ββpossible versions are: 0.2.0 or uninstalled
β ββZygoteRules [700de1a5] is fixed to version 0.2.0
ββrestricted by compatibility requirements with IRTools [7869d1d1] to versions: [0.1.0, 0.4.0-0.4.1] or uninstalled, leaving only versions: 0.1.0
β ββIRTools [7869d1d1] log:
β ββpossible versions are: [0.1.0-0.1.2, 0.2.0-0.2.3, 0.3.0] or uninstalled
β ββrestricted to versions 0.3.0 by an explicit requirement, leaving only versions 0.3.0
ββrestricted by compatibility requirements with NNlib [872c559c] to versions: [0.3.0-0.3.4, 0.4.0-0.4.1] or uninstalled β no versions left
ββNNlib [872c559c] log:
ββpossible versions are: [0.3.2, 0.4.0-0.4.3, 0.5.0, 0.6.0] or uninstalled
ββrestricted to versions 0.6.0 by an explicit requirement, leaving only versions 0.6.0
Iβm not sure if there is a general solution to this type of problem. Sometimes it can be solved by removing the packages listed in your error messages, then adding Zygote, followed by adding back the packages you removed. But I would be interested in hearing if there is a better approach.