# Flux: problems in upgrading to Julia 1.6.1

**URL:** <https://discourse.julialang.org/t/flux-problems-in-upgrading-to-julia-1-6-1/59961>\
**Category:** Package Management\
**Tags:** flux\
**Created:** [April 25, 2021, 12:45am UTC](https://discourse.julialang.org/t/flux-problems-in-upgrading-to-julia-1-6-1/59961 "2021-04-25T00:45:22Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![VivMendes](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/vivmendes/32/16477_2.png) [@VivMendes](https://discourse.julialang.org/u/VivMendes)\
**Post date:** [April 25, 2021, 12:45am UTC](https://discourse.julialang.org/t/flux-problems-in-upgrading-to-julia-1-6-1/59961/1 "2021-04-25T00:45:22Z")

</div>

I have just upgraded Julia from v1.5.4 to v1.6.1. Everything was working OK in the previous version and it also works OK with the new version, **apart from Flux**. I had to `rm` Flux, otherwise, the list of errors was huge. I don’t know what is happening. Actually, this is the first time that I am having this situation. I don’t have CuArrays installed and do have CUDA v2.6.3 on my system. I had to `rm` Flux and tried to install its most recent version. Got this error (notice that if I `rm` TextParse, which is an interdependency of CSVFiles, I have to remove the entire package CSVFiles, and in this case the list of errors becomes huge):

```julia
(@v1.6) pkg> add https://github.com/FluxML/Flux.jl
    Updating git-repo `https://github.com/FluxML/Flux.jl`
   Resolving package versions...
ERROR: Unsatisfiable requirements detected for package TextParse [e0df1984]:
 TextParse [e0df1984] log:
 ├─possible versions are: 0.6.0-1.0.1 or uninstalled
 ├─restricted by compatibility requirements with CodecZlib [944b1d66] to versions: 1.0.1 or uninstalled     
 │ └─CodecZlib [944b1d66] log:
 │ ├─possible versions are: 0.4.4-0.7.0 or uninstalled
 │ └─restricted to versions 0.7 by Flux [587475ba], leaving only versions 0.7.0
 │ └─Flux [587475ba] log:
 │ ├─possible versions are: 0.12.2 or uninstalled
 │ └─Flux [587475ba] is fixed to version 0.12.2
 └─restricted by compatibility requirements with CSVFiles [5d742f6a] to versions: 0.6.0-0.9.1 — no versions 
left
   └─CSVFiles [5d742f6a] log:
     ├─possible versions are: 0.9.0-1.0.0 or uninstalled
     ├─restricted to versions * by an explicit requirement, leaving only versions 0.9.0-1.0.0
     └─restricted by compatibility requirements with CodecZlib [944b1d66] to versions: 0.9.0-0.14.0 or uninstalled, leaving only versions: 0.9.0-0.14.0
       └─CodecZlib [944b1d66] log: see above

```

---

<div class="post-metadata">

**Author:** ![Wen-Wei\_Tseng](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/wen-wei_tseng/32/28839_2.png) [@Wen-Wei\_Tseng](https://discourse.julialang.org/u/Wen-Wei_Tseng)\
**Post date:** [April 26, 2021, 6:42am UTC](https://discourse.julialang.org/t/flux-problems-in-upgrading-to-julia-1-6-1/59961/2 "2021-04-26T06:42:09Z")

</div>

Hello @VivMendes , I was able to add Flux package on my Windows 10 machine using a clean project folder in Julia 1.6.1 .

```julia
import Pkg
mkdir("flux")
pkg"activate flux"
pkg"add Flux"

```

Manifest.toml [here](https://gist.github.com/sosiristseng/24017465eb8ea90da14d8ba81e45494b)

It seems like there are some package(s) in your root project `(@v1.6)` blocking your installation.

---

<div class="post-metadata">

**Author:** ![VivMendes](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/vivmendes/32/16477_2.png) [@VivMendes](https://discourse.julialang.org/u/VivMendes)\
**Post date:** [April 29, 2021, 2:25pm UTC](https://discourse.julialang.org/t/flux-problems-in-upgrading-to-julia-1-6-1/59961/3 "2021-04-29T14:25:29Z")

</div>

@Wen-Wei_Tseng Thanks. I was able to install Flux in the usual manner. The only problem is that I had to rm CSVFiles.jl, because there is apparently a conflict between these two packages in Julia 1.6.1. I do not understand what’s happening and hope that this problem goes away in future developments because CSVFiles is a quite useful package. Even now, the problem continues to seem related to TextParse.
