Why can't I add StatsBase.jl , does this has something to do with atom

Why can’t I add StatsBase.jl , does this has something to do with atom?

(v1.0) pkg> add StatsBase
  Updating registry at `~/.julia/registries/General`
  Updating git-repo `https://github.com/JuliaRegistries/General.git`
 Resolving package versions...
ERROR: Unsatisfiable requirements detected for package ASTInterpreter2 [e6d88f4b]:
 ASTInterpreter2 [e6d88f4b] log:
 ├─possible versions are: 0.1.0-0.1.1 or uninstalled
 ├─restricted by julia compatibility requirements to versions: uninstalled
 └─restricted by compatibility requirements with Atom [c52e3926] to versions: 0.1.0-0.1.1 — no versions left
   └─Atom [c52e3926] log:
     ├─possible versions are: [0.1.0-0.1.1, 0.2.0-0.2.1, 0.3.0, 0.4.0-0.4.6, 0.5.0-0.5.10, 0.6.0-0.6.17, 0.7.0-0.7.15, 0.8.0-0.8.2] or uninstalled
     └─restricted to versions 0.7.15 by an explicit requirement, leaving only versions 0.7.15
(v1.0) pkg> status
    Status `~/.julia/environments/v1.0/Project.toml`
  [c52e3926] Atom v0.7.15

Problem solved

  1. first update my packages using “update”

  2. add StatsBase

(v1.0) pkg> add StatsBase
 Resolving package versions...
  Updating `~/.julia/environments/v1.0/Project.toml`
  [2913bbd2] + StatsBase v0.29.0
  Updating `~/.julia/environments/v1.0/Manifest.toml`
 [no changes]
1 Like