I am trying to install the latest version of Flux.jl with Julia 1.6. When I do add Flux, it adds version Flux v0.8.3 but looking at GitHub, it seems the newest release is version 0.12.x. I have the following packages in my env:
(#v1.6) pkg> st
Status `~/.julia/environments/v1.6/Project.toml`
[5ae59095] Colors v0.9.6
[8f4d0f93] Conda v1.5.2
[7876af07] Example v0.5.3
[587475ba] Flux v0.8.3
[7073ff75] IJulia v1.23.2
[91a5bcdd] Plots v1.0.14
I tried removing Flux and re-adding it already. I also tried:
(#v1.6) pkg> up Flux
Updating registry at `~/.julia/registries/General`
Updating git-repo `https://github.com/JuliaRegistries/General.git`
Updating registry at `~/.julia/registries/JuliaPOMDP`
Updating git-repo `https://github.com/JuliaPOMDP/Registry`
No Changes to `~/.julia/environments/v1.6/Project.toml`
No Changes to `~/.julia/environments/v1.6/Manifest.toml`
and I tried adding the specific version I wanted:
(#v1.6) pkg> add Flux#v0.12.4
Resolving package versions...
ERROR: Unsatisfiable requirements detected for package CodecZlib [944b1d66]:
CodecZlib [944b1d66] log:
├─possible versions are: 0.4.4-0.7.0 or uninstalled
├─restricted by compatibility requirements with StackOverflow [1a8df32f] to versions: 0.6.0
│ └─StackOverflow [1a8df32f] log:
│ ├─possible versions are: 0.1.0-0.1.2 or uninstalled
│ └─restricted to versions * by an explicit requirement, leaving only versions 0.1.0-0.1.2
└─restricted by compatibility requirements with Flux [587475ba] to versions: 0.7.0 — no versions left
└─Flux [587475ba] log:
├─possible versions are: 0.4.1-0.12.4 or uninstalled
└─restricted to versions 0.12.4 by an explicit requirement, leaving only versions 0.12.4
which resulted in the error above.
Somehow one of those other packages listed above was causing the Flux version to be upper bounded at v0.8.3 (I am guessing Conda but am not sure). By removing all the packages besides IJulia, I was able to do an up Flux and have it go to [587475ba] ↑ Flux v0.8.3 ⇒ v0.12.4.
I am new to Julia, when trying to add CUDA, comes the error as following.
It seems meaning the CuArrays is not in right condition, so I add the CuArrays from the github, then it comes another error about Adapt.
When adding Adapt, it seems fine, but when rolling back, the Adapt issue comes again.
Just like rabbit holes in Alice's dream, I am stucked here and don't know what to do to make it work.
Please advise, Thanks,
BTW, the CUDA path is set.
OS:Win10
JuliaPro 1.5.0
GPU: NVIDIA MX150
CUDA.jl
(#JuliaPro_v1.5.0-1) pkg> add https://github.com/JuliaGPU/CUDA.jl
Updating git-repo `https://github.com/JuliaGPU/CUDA.jl`
Resolving package versions...
ERROR: Unsatisfiable requirements detected for package CUDAnative [be33ccc6]:
CUDAnative [be33ccc6] log:
├─possible versions are: [0.7.0, 0.8.0-0.8.10, 0.9.0-0.9.1, 0.10.0-0.10.1, 1.0.0-1.0.1, 2.0.0-2.0.1, 2.1.0-2.1.3, 2.2.0-2.2.1, 2.3.0-2.3.1, 2.4.0, 2.5.0-2.5.5, 2.6.0, 2.7.0, 2.8.0-2.8.1, 2.9.0-2.9.1, 2.10.0-2.10.2, 3.0.0-3.0.4, 3.1.0, 3.2.0] or uninstalled
├─restricted to versions * by an explicit requirement, leaving only versions [0.7.0, 0.8.0-0.8.10, 0.9.0-0.9.1, 0.10.0-0.10.1, 1.0.0-1.0.1, 2.0.0-2.0.1, 2.1.0-2.1.3, 2.2.0-2.2.1, 2.3.0-2.3.1, 2.4.0, 2.5.0-2.5.5, 2.6.0, 2.7.0, 2.8.0-2.8.1, 2.9.0-2.9.1, 2.10.0-2.10.2, 3.0.0-3.0.4, 3.1.0, 3.2.0]
└─restricted by compatibility requirements with LLVM [929cbde3] to versions: uninstalled — no versions left
└─LLVM [929cbde3] log:
├─possible versions are: [0.9.0-0.9.15, 1.0.0, 1.1.0-1.1.1, 1.2.0, 1.3.0-1.3.4, 1.4.0-1.4.1, 1.5.0-1.5.2, 1.6.0, 1.7.0, 2.0.0, 3.0.0] or uninstalled
└─restricted to versions 3 by CUDA [052768ef], leaving only versions 3.0.0
└─CUDA [052768ef] log:
├─possible versions are: 1.3.0 or uninstalled
└─CUDA [052768ef] is fixed to version 1.3.0
CUDAnative
(#JuliaPro_v1.5.0-1) pkg> add https://github.com/JuliaGPU/CUDAnative.jl
Updating git-repo `https://github.com/JuliaGPU/CUDAnative.jl`
Resolving package versions...
ERROR: Unsatisfiable requirements detected for package Adapt [79e6a3ab]:
Adapt [79e6a3ab] log:
├─possible versions are: 2.3.0 or uninstalled
├─restricted to versions [0.4, 1] by CUDAnative [be33ccc6] — no versions left
│ └─CUDAnative [be33ccc6] log:
│ ├─possible versions are: 3.1.0 or uninstalled
│ └─CUDAnative [be33ccc6] is fixed to version 3.1.0
└─Adapt [79e6a3ab] is fixed to version 2.3.0
Adapt
(#JuliaPro_v1.5.0-1) pkg> add https://github.com/JuliaGPU/Adapt.jl
Updating git-repo `https://github.com/JuliaGPU/Adapt.jl`
Resolving package versions...
No Changes to `C:\Users\eric1\.julia\environments\JuliaPro_v1.5.0-1\Project.toml`
No Changes to `C:\Users\eric1\.julia\environments\JuliaPro_v1.5.0-1\Manifest.toml`
You should be installing packages:
(#JuliaPro_v1.5.0-1) pkg> add CUDA
If you are doing instead add https://github.com/JuliaGPU/CUDA.jl you are installing the latest development version (master branch) from the repository.
Since it is a development (current-state-of-source-code) version quite likely something might not work.
Now, I recommend you to remove all those dev package versions that you have installed (so run rm package manager commad) and then reinstall their release versions rather than dev versions.
There is a good change that after that you will not have a dependency clash.
I am trying to dev a package I already have locally installed because I am updating my Julia version.
Resolving package versions...
ERROR: Unsatisfiable requirements detected for package NameOfPackage [980c2a51]:
NameOfPackage [980c2a51] log:
├─ NameOfPackage [980c2a51] has no known versions!
└─restricted to versions * by NameOfOtherPackage [e09632b2] — no versions left
However, when I do ] st, I get [afad1059] NameOfPackage v0.2.0 [~/.julia/dev/NameOfPackage]
How can NameOfPackage have no known versions but show a version?
There is a UUID mismatch (one UUID starts with “980c” and one with “afad”) so this looks like two different packages to the resolver. You need to figure out which is the correct one and remove all traces of the wrong UUID.
I am trying to use Travis on a package of mine (UnivariateFunctions) that depends on another package (SchumakerSpline). The build always fails, apparently because it cannot access SchumakerSpline. SchumakerSpline can be installed from github to my local machine via REPL so it is not clear what the problem with this package is.
What can cause an error of this sort and more generally what are the required steps for using Travis to test a Julia package that is dependent on other Julia packages? What do you need to do with a package to ensure it can be easily referenced and depended on by other packages?
The full error message is below:
ERROR: Unsatisfiable requirements detected for package SchumakerSpline [65e68595]:
SchumakerSpline [65e68595] log:
├─possible versions are: 0.0.1 or uninstalled
├─restricted to versions 0.0.1-* by UnivariateFunctions [117ba14f], leaving only versions 0.0.1
│ └─UnivariateFunctions [117ba14f] log:
│ ├─possible versions are: 0.0.0 or uninstalled
│ └─UnivariateFunctions [117ba14f] is fixed to version 0.0.0
└─restricted by julia compatibility requirements to versions: uninstalled — no versions left
This:
restricted by julia compatibility requirements
means that the package (SchumakerSpline) does not support the Julia version you are running.
It seem that the developer of SchumakerSpline did not jet make a new release for Julia 1.0. You might want to make an issue on their repo. Beside this you can also use Pkg.clone on Travis CI to have the latest version of SchumakerSpline (which seems to support 1.0).
When I try to install various packages in Julia 1.0 I get an error regarding the GLText package:
(v1.0) pkg> add Makie
Updating registry at `~/.julia/registries/General`
Updating git-repo `https://github.com/JuliaRegistries/General.git`
Resolving package versions...
ERROR: Unsatisfiable requirements detected for package GLText [02a96ca5]:
GLText [02a96ca5] log:
├─possible versions are: 0.0.1-0.0.4 or uninstalled
├─restricted by compatibility requirements with GLPlot [9bedddac] to versions:
0.0.1-0.0.4
│ └─GLPlot [9bedddac] log:
│ ├─possible versions are: 0.0.2-0.0.5 or uninstalled
│ └─restricted to versions * by an explicit requirement, leaving only versions 0.0.2-0.0.5
└─restricted by julia compatibility requirements to versions: uninstalled — no versions left
I am working on macOS Sierra
This error message indicates that there are no available versions of the package which have been certified by the package author as compatible with Julia 0.7 (or 1.0). GLText and its successor GLVisualize are not currently installable with the latest Julia. It might be necessary to install Julia 0.6 if you must use that package.