Julia cannot update package?

I’m trying to update Flux to v0.10.0 but my Julia is stuck at v"0.8.3". Typing ]update Flux does not change it.

Before that, my Flux was in v0.10.0 but I tried model zoo https://github.com/FluxML/model-zoo and ran
using Pkg; Pkg.activate("."); Pkg.instantiate()
which reverted Flux to v0.8.3

I looked into my \.julia\environments\v1.3\Manifest.toml and sure enough, there Flux is given as v0.8.3. How do I make it update?

I solved it by first deleting the old entry in the Manifest.toml

using Pkg
Pkg.rm("CUDAdrv") # otherwise it has compatibility problems

Then using
Pkg.add(Pkg.PackageSpec(name="Flux", version="0.10.0"))

1 Like