I am getting```using GadflyERROR: ArgumentError: Package Gadfly not found in cu

I am getting

using Gadfly
ERROR: ArgumentError: Package Gadfly not found in current path:
- Run `import Pkg; Pkg.add("Gadfly")` to install the Gadfly package.

but I have

julia> ENV
Base.EnvDict with 29 entries:
  "JULIA_DEPOT_PATH"        => "/Users/dom/.julia:/nix/store/jmi07zhnpmnphnw3ls0cxmrq1n89spbd-julia-depot"


dom@MacBook-Pro depot % ls -ltr /nix/store/jmi07zhnpmnphnw3ls0cxmrq1n89spbd-julia-depot/compiled/v1.5/Gadfly/ 
total 3296
-r-xr-xr-x  1 dom  admin  1686699  1 Jan  1970 DvECm_9igGY.ji

so what is stopping julia finding gadfly?

Note that the original poster on Slack cannot see your response here on Discourse. Consider transcribing the appropriate answer back to Slack, or pinging the poster here on Discourse so they can follow this thread.
(Original message :slack:) (More Info)

I don’t know what it was but I deleted ~/.julia and restarted julia and now there is nothing but a log in ~/.julia - I guess this will remain forever one of the world’s greatest unsolved mysteries.

1 Like