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
makie.jl: ERROR: LoadError: UndefVarError: Downloads not defined #145
Comments
This could be a Julia version error. Since |
Hi, (@v1.7) pkg> st |
I haven’t played yet with Julia 1.7. @rikhuijzer any suggestions? |
Hi, @bardo84. Thank you for taking a look at our book and opening an issue. To allow us to help you, could you elaborate on what you're trying to achieve? |
I was trying to run this file. |
Okay. That file is part of the JDS (Julia Data Science) package. It is not intended to be run as a separate script. We explain why in Section 1.2. Is your intention to re-create the plots and modify them ever so slightly to get the hang of plotting? In that case, it's probably easiest to run Pluto.jl and copy paste the code from this book. Of course, there are easier ways than this to do it, but I don't know what your experience level is with Julia and what development environment you are using. Pluto is the safest bet to get things running, especially when plotting is involved. An demo of Pluto with plotting is at https://www.youtube.com/watch?v=jdEqGOv8ycc. |
Package dependency, ok, understand. |
Then definitely checkout Pluto.jl. It can manage package dependencies for you automatically. Also, most (if not all) of our Makie.jl plots are stand alone, meaning that you can just copy paste the code in Pluto and see the results. For example, just copy paste
into Pluto.jl and you should see a nice plot. See the aforementioned YouTube video for instructions on how to get Pluto.jl running. |
OK, thx for your help! |
Oh sorry. I though you were trying to run the source code for the book. Rik’s suggestions are great. Don’t hesitate to reach out the Julia’s discourse (discourse.julialang.org). |
Hi,
I get an
Commented out.
And on execution for all demo functions:
Commented out.
On execution,
no error, no plot appears.
The text was updated successfully, but these errors were encountered: