JuliaGizmos / Interact.jl

Interactive widgets to play with your Julia code
Other
520 stars 75 forks source link

Not installing on Julia 1.3.1 #362

Open caxelrud opened 4 years ago

caxelrud commented 4 years ago

I am getting the following error. Also, I can't install (add) CSSUtil (it can find it).

v1.3) pkg> add Interact
 Resolving package versions...
ERROR: Unsatisfiable requirements detected for package CSSUtil [70588ee8]:
 CSSUtil [70588ee8] log:
 ├─possible versions are: 0.1.0 or uninstalled
 ├─restricted by compatibility requirements with Interact [c601a237] to versions: 0.1.0
 │ └─Interact [c601a237] log:
 │   ├─possible versions are: [0.8.0, 0.9.0-0.9.1, 0.10.0-0.10.3] or uninstalled
 │   └─restricted to versions * by an explicit requirement, leaving only versions [0.8.0, 0.9.0-0.9.1, 0.10.0-0.10.3]
 └─restricted by compatibility requirements with Compat [34da2185] to versions: uninstalled — no versions left
   └─Compat [34da2185] log:
     ├─possible versions are: [1.0.0-1.0.1, 1.1.0, 1.2.0, 1.3.0, 1.4.0, 1.5.0-1.5.1, 2.0.0, 2.1.0, 2.2.0, 3.0.0, 3.1.0, 3.2.0, 3.3.0-3.3.1, 3.4.0, 3.5.0, 3.6.0, 3.7.0, 3.8.0] or uninstalled
     └─restricted to versions 3.8.0 by an explicit requirement, leaving only versions 3.8.0
twavv commented 4 years ago

It seems that you explicitly installed Compat at some point, and now Pkg is refusing to upgrade it to install Interact (maybe?).

Please post the output of Pkg.status().

caxelrud commented 4 years ago

Before you asked to check, I was trying several things and I removed Compat. The current status is:

v1.3) pkg> status
    Status `C:\Users\inter\.julia\environments\v1.3\Project.toml`
  [5b7e9947] AdvancedMH v0.4.1
  [336ed68f] CSV v0.6.1
  [aaaa29a8] Clustering v0.13.4
  [944b1d66] CodecZlib v0.7.0
  [5ae59095] Colors v0.11.2
  [2841fd70] DPMMSubClusters v0.1.8
  [a93c6f00] DataFrames v0.20.2
  [b4f34e82] Distances v0.8.2
  [31c24e10] Distributions v0.23.2
  [2fe49d83] Expectations v1.1.1
  [5789e2e9] FileIO v1.2.4
  [587475ba] Flux v0.10.4
  [cc18c42c] GaussianMixtures v0.3.1
  [a2cc645c] GraphPlot v0.4.2
  [bd48cda9] GraphRecipes v0.5.2
  [09f84164] HypothesisTests v0.9.2
  [7073ff75] IJulia v1.21.2
  [6218d12a] ImageMagick v1.1.4
  [916415d5] Images v0.22.2
  [5ab0869b] KernelDensity v0.5.1
  [b964fa9f] LaTeXStrings v1.1.0
  [6f1fad26] Libtask v0.3.4
  [093fc24a] LightGraphs v1.3.1
  [c7f686f2] MCMCChains v3.0.12
  [442fdcdd] Measures v0.3.1
  [8314cec4] PGFPlotsX v1.2.6
  [91a5bcdd] Plots v1.0.11
  [438e738f] PyCall v1.91.4
  [d330b81b] PyPlot v2.9.0
  [1fd47b50] QuadGK v2.3.1
  [ce6b1742] RDatasets v0.6.7
  [6e75b9c4] ScikitLearnBase v0.5.0
  [276daf66] SpecialFunctions v0.10.0
  [a9453432] SpectralClustering v0.1.2
  [2913bbd2] StatsBase v0.33.0
  [4c63d2b9] StatsFuns v0.9.4
  [f3b207a7] StatsPlots v0.14.5
  [5e47fb64] TestImages v1.0.2
  [9e3dc215] TimeSeries v0.18.0
  [fce5fe82] Turing v0.11.0
  [0f1e0344] WebIO v0.8.13

Now the message is different:

(v1.3) pkg> add Interact
 Resolving package versions...
ERROR: Unsatisfiable requirements detected for package Compat [34da2185]:
 Compat [34da2185] log:
 ├─possible versions are: [1.0.0-1.0.1, 1.1.0, 1.2.0, 1.3.0, 1.4.0, 1.5.0-1.5.1, 2.0.0, 2.1.0, 2.2.0, 3.0.0, 3.1.0, 3.2.0, 3.3.0-3.3.1, 3.4.0, 3.5.0, 3.6.0, 3.7.0, 3.8.0] or uninstalled
 ├─restricted by compatibility requirements with DataFrames [a93c6f00] to versions: [2.0.0, 2.1.0, 2.2.0, 3.0.0, 3.1.0, 3.2.0, 3.3.0-3.3.1, 3.4.0, 3.5.0, 3.6.0, 3.7.0, 3.8.0]
 │ └─DataFrames [a93c6f00] log:
 │   ├─possible versions are: [0.11.7, 0.12.0, 0.13.0-0.13.1, 0.14.0-0.14.1, 0.15.0-0.15.2, 0.16.0, 0.17.0-0.17.1, 0.18.0-0.18.4, 0.19.0-0.19.4, 0.20.0-0.20.2] or uninstalled
 │   └─restricted to versions 0.20.2 by an explicit requirement, leaving only versions 0.20.2
 ├─restricted by compatibility requirements with CSSUtil [70588ee8] to versions: [1.0.0-1.0.1, 1.1.0, 1.2.0, 1.3.0, 1.4.0, 1.5.0-1.5.1, 2.0.0, 2.1.0, 2.2.0], leaving only versions: [2.0.0, 2.1.0, 2.2.0]
 │ └─CSSUtil [70588ee8] log:
 │   ├─possible versions are: 0.1.0 or uninstalled
 │   └─restricted by compatibility requirements with Interact [c601a237] to versions: 0.1.0
 │     └─Interact [c601a237] log:
 │       ├─possible versions are: [0.8.0, 0.9.0-0.9.1, 0.10.0-0.10.3] or uninstalled
 │       └─restricted to versions * by an explicit requirement, leaving only versions [0.8.0, 0.9.0-0.9.1, 0.10.0-0.10.3]
 └─restricted by compatibility requirements with DistributionsAD [ced4e74d] to versions: [3.6.0, 3.7.0, 3.8.0] — no versions left
   └─DistributionsAD [ced4e74d] log:
     ├─possible versions are: [0.1.0-0.1.4, 0.2.0, 0.3.0-0.3.2, 0.4.0-0.4.10, 0.5.0] or uninstalled
     ├─restricted by compatibility requirements with Turing [fce5fe82] to versions: 0.4.8-0.4.10
     │ └─Turing [fce5fe82] log:
     │   ├─possible versions are: [0.5.0-0.5.1, 0.6.0-0.6.2, 0.6.4-0.6.9, 0.6.11-0.6.15, 0.6.17-0.6.19, 0.6.21-0.6.23, 0.7.0-0.7.4, 0.8.0-0.8.3, 0.9.0-0.9.2, 0.10.0-0.10.1, 0.11.0] or uninstalled
     │   └─restricted to versions 0.11.0 by an explicit requirement, leaving only versions 0.11.0
     └─restricted by compatibility requirements with StatsBase [2913bbd2] to versions: [0.1.0-0.1.4, 0.2.0, 0.3.0-0.3.2, 0.4.9-0.4.10, 0.5.0] or uninstalled, leaving only versions: 0.4.9-0.4.10
       └─StatsBase [2913bbd2] log:
         ├─possible versions are: [0.24.0, 0.25.0, 0.26.0, 0.27.0, 0.28.0-0.28.1, 0.29.0, 0.30.0, 0.31.0, 0.32.0-0.32.2, 0.33.0] or uninstalled
         └─restricted to versions 0.33.0 by an explicit requirement, leaving only versions 0.33.0
twavv commented 4 years ago

I think CSSUtil just needs to be updated to use a newer version of Compat.

kirill-kondrashov commented 4 years ago

I have the same issue and I cannot upgrade CSSUtil manually. The latest tag is 0.1.0, and I have the following mistake:

 pkg> add CSSUtil@0.1.0
 Resolving package versions...
ERROR: Unsatisfiable requirements detected for package Bijectors [76274a88]:
 Bijectors [76274a88] log:
 ├─possible versions are: [0.1.0, 0.2.0, 0.2.5-0.2.9, 0.3.0-0.3.2, 0.4.0, 0.5.0-0.5.2, 0.6.0-0.6.7] or uninstalled
 ├─restricted by compatibility requirements with Distributions [31c24e10] to versions: [0.1.0, 0.2.0, 0.2.5-0.2.9, 0.3.0-0.3.2, 0.4.0, 0.6.4-0.6.7] or uninstalled
 │ └─Distributions [31c24e10] log:
 │   ├─possible versions are: [0.16.0-0.16.4, 0.17.0, 0.18.0, 0.19.1-0.19.2, 0.20.0, 0.21.0-0.21.3, 0.21.5-0.21.12, 0.22.0-0.22.6, 0.23.0-0.23.2] or uninstalled

... some private stuff...

 ├─restricted by compatibility requirements with Turing [fce5fe82] to versions: 0.6.4-0.6.7
 │ └─Turing [fce5fe82] log:
... some private stuff...
   └─Compat [34da2185] log:
     ├─possible versions are: [1.0.0-1.0.1, 1.1.0, 1.2.0, 1.3.0, 1.4.0, 1.5.0-1.5.1, 2.0.0, 2.1.0, 2.2.0, 3.0.0, 3.1.0, 3.2.0, 3.3.0-3.3.1, 3.4.0, 3.5.0, 3.6.0, 3.7.0, 3.8.0] or uninstalled
     └─restricted by compatibility requirements with CSSUtil [70588ee8] to versions: [1.0.0-1.0.1, 1.1.0, 1.2.0, 1.3.0, 1.4.0, 1.5.0-1.5.1, 2.0.0, 2.1.0, 2.2.0]
       └─CSSUtil [70588ee8] log:
         ├─possible versions are: 0.1.0 or uninstalled
         └─restricted to versions 0.1.0 by an explicit requirement, leaving only versions 0.1.0

My point is that I cannot make it running with most of the latest versions of such packages, as for instance Turing.jl and more.

kirill-kondrashov commented 4 years ago

UPD: Though to be honest I didn't notice @travigd to update the CSSUtil on the 19th of March in master branch. That worked for me:

 pkg> add CSSUtil#3b42f04dbb8905266e25486cae04eaa6623165ad
kirill-kondrashov commented 4 years ago

My vision therefore is that there must be somehow an update done for REQUIRE or whatever (maybe adding Project.toml finally) because this seems far from straightforward way...