using Makie ERROR

Just added Makie, using julia v1.0, i get an error when using Makie

julia> using Makie
[ Info: Precompiling Makie [ee78f7c6-11fb-53f2-987a-cfe4a2b5a57a]
ERROR: LoadError: ArgumentError: Package Makie does not have Colors in its dependencies:
- If you have Makie checked out for development and have
  added Colors as a dependency but haven't updated your primary
  environment's manifest file, try `Pkg.resolve()`.
- Otherwise you may need to report an issue with Makie
Stacktrace:
 [1] require(::Module, ::Symbol) at ./loading.jl:830
 [2] include at ./boot.jl:317 [inlined]
 [3] include_relative(::Module, ::String) at ./loading.jl:1038
 [4] include(::Module, ::String) at ./sysimg.jl:29
 [5] top-level scope at none:2
 [6] eval at ./boot.jl:319 [inlined]
 [7] eval(::Expr) at ./client.jl:389
 [8] top-level scope at ./none:3
in expression starting at /Users/dickbarends/.julia/packages/Makie/O8qsP/src/Makie.jl:4
ERROR: Failed to precompile Makie [ee78f7c6-11fb-53f2-987a-cfe4a2b5a57a] to /Users/dickbarends/.julia/compiled/v1.0/Makie/iZ1Bl.ji.
Stacktrace:
 [1] error(::String) at ./error.jl:33
 [2] macro expansion at ./logging.jl:313 [inlined]
 [3] compilecache(::Base.PkgId, ::String) at ./loading.jl:1184
 [4] _require(::Base.PkgId) at ./logging.jl:311
 [5] require(::Base.PkgId) at ./loading.jl:852
 [6] macro expansion at ./logging.jl:311 [inlined]
 [7] require(::Module, ::Symbol) at ./loading.jl:834

1 Like

I don’t think that makie.jl already supports Julia 1.0. It does support Julia 0.7, and if you use a special branch you might be able to make it work on 1.0, see:

]add Makie#master should support 1.0!

1 Like

Works. Thanks!

@sdanisch Squeee! Make for 1.0! Does a happy dance.
Thanks for all your effort.

I get this error - but that is a NamedTuples problem
ERROR: Unsatisfiable requirements detected for package NamedTuples [73a701b4]:
NamedTuples [73a701b4] log:
├─possible versions are: [0.0.1-0.0.3, 0.1.0, 1.0.0, 2.0.0, 2.1.0, 3.0.0-3.0.3, 4.0.0-4.0.2] or uninstalled
├─restricted to versions * by an explicit requirement, leaving only versions [0.0.1-0.0.3, 0.1.0, 1.0.0, 2.0.0, 2.1.0, 3.0.0-3.0.3, 4.0.0-4.0.2]
└─restricted by julia compatibility requirements to versions: uninstalled — no versions left

Whoops. Looks like this may be a problem with GtkReactive

Apologies if I am the boy crying Wolf!!! I would rather flag these up now than have the thousands of people flocking to use Makie real soon now having the same errors, even though they are caused by the stumps I have for hands after the wolf bit my fingers off.

v1.0) pkg> resolve
Resolving package versions…
ERROR: Unsatisfiable requirements detected for package GtkReactive [27996c0f]:
GtkReactive [27996c0f] log:
├─possible versions are: [0.0.1-0.0.6, 0.1.0-0.1.2, 0.2.0-0.2.3, 0.3.0, 0.4.0-0.4.2, 0.5.0-0.5.1] or uninstalled
├─restricted to versions 0.4.1 by an explicit requirement, leaving only versions 0.4.1
└─restricted by julia compatibility requirements to versions: 0.5.0-0.5.1 or uninstalled — no versions left

I think this isn’t really Makie’s fault - seems like there have been a few Packages that got deprecated in METADATA, which results in these kind of issues. You need to free/remove those packages.

I tried it on a completely clean docker image and installation just works:
https://nextjournal.com/sdanisch/makie-1.0
If you want to quickly play around with Makie while your local installation doesn’t work, you can make an account with signup code juliacon and just remix that article :wink:

Simon, thankyou. I do realise this is due to other packages!
Does anyone know how to debug these messages?

I will sign up!