JuliaStats / KernelDensity.jl

Kernel density estimators for Julia
Other
172 stars 40 forks source link

Installation Unsatisfiable Requirements #74

Open mattcbro opened 4 years ago

mattcbro commented 4 years ago

In Julia 1.2, within the ordinary REPL (not atom)

(v1.2) pkg> add KernelDensity
 Resolving package versions...
ERROR: Unsatisfiable requirements detected for package KernelDensity [5ab0869b]:
 KernelDensity [5ab0869b] log:
 ├─possible versions are: [0.0.1-0.0.2, 0.1.0-0.1.2, 0.2.0, 0.3.0-0.3.2, 0.4.0-0.4.1, 0.5.0-0.5.1] or uninstalled
 ├─restricted to versions * by an explicit requirement, leaving only versions [0.0.1-0.0.2, 0.1.0-0.1.2, 0.2.0, 0.3.0-0.3.2, 0.4.0-0.4.1, 0.5.0-0.5.1]
 ├─restricted by compatibility requirements with FFTW [7a1cc6ca] to versions: [0.0.1-0.0.2, 0.1.0-0.1.2, 0.2.0, 0.3.0-0.3.2, 0.4.0-0.4.1] or uninstalled, leaving only versions: [0.0.1-0.0.2, 0.1.0-0.1.2, 0.2.0, 0.3.0-0.3.2, 0.4.0-0.4.1]
 │ └─FFTW [7a1cc6ca] log:
 │   ├─possible versions are: [0.0.1-0.0.4, 0.1.0-0.1.2, 0.2.0-0.2.4, 0.3.0, 1.0.0-1.0.1] or uninstalled
 │   └─restricted to versions 1.0.0 by an explicit requirement, leaving only versions 1.0.0
 └─restricted by julia compatibility requirements to versions: 0.5.0-0.5.1 or uninstalled — no versions left

Package versions I am using

(v1.2) pkg> status
    Status `~/.julia/environments/v1.2/Project.toml`
  [c52e3926] Atom v0.10.1
  [6e4b80f9] BenchmarkTools v0.4.3
  [336ed68f] CSV v0.5.12
  [be33ccc6] CUDAnative v2.3.1
  [3a865a2d] CuArrays v1.2.1
  [a93c6f00] DataFrames v0.19.4
  [31a5f54b] Debugger v0.6.2
  [39dd38d3] Dierckx v0.4.1
  [7a1cc6ca] FFTW v1.0.1
  [5789e2e9] FileIO v1.0.7
  [c27321d9] Glob v1.2.0
  [f67ccb44] HDF5 v0.12.3
  [5903a43b] Infiltrator v0.1.0
  [a98d9a8b] Interpolations v0.12.2
  [033835bb] JLD2 v0.1.3
  [e5e0dc1b] Juno v0.7.2
  [91a5bcdd] Plots v0.26.3
  [f27b6e38] Polynomials v0.5.2
  [c46f51b8] ProfileView v0.4.1
  [438e738f] PyCall v1.91.2
  [d330b81b] PyPlot v2.8.2
  [295af30f] Revise v2.2.0
  [276daf66] SpecialFunctions v0.8.0
  [90137ffa] StaticArrays v0.11.0
  [0796e94c] Tokenize v0.5.6
  [796a5d58] WordTokenizers v0.5.3

The solution for now is to remove the FFTW package and then add KernelDensity.jl (v1.2) pkg> rm FFTW

At least this gets me to the ability to add KernelDensity.jl I haven't tested it yet.

jaakkor2 commented 4 years ago

Fixed by https://github.com/JuliaRegistries/General/pull/4148