I’ll start with the problem(s):
(v1.1) pkg> status Status `C:\Users\rdboylan\.julia\environments\v1.1\Project.toml` [c52e3926] Atom v0.8.7 [38e38edf] GLM v1.1.2 [`dev\GLM`] [54eb57ff] InteractiveCodeSearch v0.3.1 [e5e0dc1b] Juno v0.7.0 [295af30f] Revise v2.1.6 [2913bbd2] StatsBase v0.30.0 [`dev\StatsBase`] julia> using StatsModels ERROR: ArgumentError: Package StatsModels not found in current path: - Run `import Pkg; Pkg.add("StatsModels")` to install the StatsModels package. Stacktrace:  require(::Module, ::Symbol) at .\loading.jl:823
That itself is weird since StatsModels is in the general cache at C:\Users\rdboylan.julia\packages. Pressing on …
(v1.1) pkg> dev --local StatsModels [ Info: Path `C:\Users\rdboylan\.julia\environments\v1.1\dev\StatsModels` exists and looks like the correct package, using existing path Resolving package versions... ERROR: Unsatisfiable requirements detected for package StatsModels [3eaba693]: StatsModels [3eaba693] log: ├─possible versions are: 0.6.0 or uninstalled ├─restricted to versions 0.5.0-0.5 by GLM [38e38edf] — no versions left │ └─GLM [38e38edf] log: │ ├─possible versions are: 1.1.2 or uninstalled │ └─GLM [38e38edf] is fixed to version 1.1.2 └─StatsModels [3eaba693] is fixed to version 0.6.0
After numerous initial attempts to get things working, including getting the latest GLM from github, I concluded the GLM dependencies are just a bit out of date. In particular,
StatsModels = "0.5".
I created a local branch and changed that to “0.6”. I did everything I could think of to update dependencies (update; resolve; restarting the editor), but I still get the error shown above. I checked the save file has 0.6 and also noted there is no “other” copy of GLM in
So what’s going on, and how can I fix it?
Julia 1.1.1 on MS-Windows 10. Atom/Juno. 64 bit everything.
I originally set things up awhile ago (1-3 weeks?) using Julia 1.1.0.
Today I did a series of updates: to Atom and Julia related modules in it; to Julia itself (installed 1.1.1; still have 1.1.0 which I was using); and to the Julia packages. I also installed Revise, including the recommended startup script; i.e., Revise should be active. Told Juno to use the 1.1.1 version (a little surprised that wasn’t automatic). Used external tool to get latest changes for GLM.