Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERROR: UndefVarError: Grisu not defined, julia v1.6.3 #3893

Closed
xzczd opened this issue Oct 22, 2021 · 2 comments
Closed

ERROR: UndefVarError: Grisu not defined, julia v1.6.3 #3893

xzczd opened this issue Oct 22, 2021 · 2 comments

Comments

@xzczd
Copy link

xzczd commented Oct 22, 2021

The following is my versioninfo():

Julia Version 1.6.3
Commit ae8452a9e0 (2021-09-23 17:34 UTC)
Platform Info:
  OS: Windows (x86_64-w64-mingw32)
  CPU: Intel(R) Core(TM) i7-8565U CPU @ 1.80GHz
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-11.0.1 (ORCJIT, skylake)

I installed Plots simply with (@v1.6) pkg> add Plots, status Plots shows the version is v1.4.4.

But when I tried the basic example

using Plots
x = 1:10; y = rand(10); # These are the plotting data
plot(x, y)

The message ERROR: UndefVarError: Grisu not defined pops up. How to resolve this?

@BeastyBlacksmith
Copy link
Member

That is a fairly old version. Either install it in a new environment or try pkg> add Plots@1.22.6 to see which packages are holding you back.

@xzczd
Copy link
Author

xzczd commented Oct 22, 2021

@BeastyBlacksmith Thanks for the help. Choosing the version directly doesn't help. The evil seems to be registry as mentioned in the following:

trixi-framework/Trixi.jl#928

Now the package seems to be installed properly.

@xzczd xzczd closed this as completed Oct 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants