ERROR: Unsatisfiable requirements detected for package ASTInterpreter2 [e6d88f4b]

#1

Hi, I am trying to use add some packages but the following error appears:

(v1.0) pkg> add Yao
 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.8 by an explicit requirement, leaving only versions 0.7.8

I tried adding other packages such as Flux and Makie but the same error arise. Any idea what could be the reason?

Use function as objective of JuMP
#2

Try issuing pkg> update before trying to add the new package.

1 Like
#3

Had the same issue after updating Atom and Julia and updating packages worked for me.
In Atom I ran Pkg.update() and everything went back to normal.
Thanks