-
Notifications
You must be signed in to change notification settings - Fork 16
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
difficulty installing climateplots #134
Comments
Well, the initial pkg.add should have installed 0.18.x. I'll look into that. |
In a fresh environment, ClimateTools 0.18.1 and ClimatePlots 0.2.2 installs correctly. Version 0.14.x from memory is before the migration. It should include ClimatePlots natively. Some other dependency is probably getting you back on ClimateTools. |
I just included a notebook draft into https://github.com/JuliaClimate/GlobalOceanNotebooks to demo The notebook is a first cut that I intend to improve etc but the more immediate issue is that Would be great if you could take a look and / or advise
|
Nice, thanks! :) I'm also gonna try to improve the draft once I have some time. Seems like that when you load the precipitation dataset with Not sure about the binder issue about Ipopt. I'm gonna run the notebook on Binder and sees where it goes! |
The installation of ClimateTools on Binder was OK. ClimatePlots failed because of python distribution where it could not find ┌ Info: Precompiling ClimateTools [4f4ee721-4970-5af2-8560-6c1d960e3231]
└ @ Base loading.jl:1273
┌ Info: Precompiling ClimatePlots [b71d359b-899c-4fb1-b3ad-2de2d2cb8353]
└ @ Base loading.jl:1273
ERROR: LoadError: InitError: PyError (PyImport_ImportModule
The Python package matplotlib could not be found by pyimport. Usually this means
that you did not install matplotlib in the Python version being used by PyCall.
PyCall is currently configured to use the Python version at:
/srv/conda/envs/notebook/bin/python3
and you should use whatever mechanism you usually use (apt-get, pip, conda,
etcetera) to install the Python package containing the matplotlib module.
One alternative is to re-configure PyCall to use a different Python
version on your system: set ENV["PYTHON"] to the path/name of the python
executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. |
I think this was mostly a matter of updating Project.toml. Feel free to reopen if it does not work! |
I first installed ClimateTools via Pkg.add (got
v0.14.5
somehow) then proceeded to install ClimatePlots as explained in the docs. But this approach lead to the error message below.update:
I went back and, instead of using Pkg.add, I cloned the repo and used
Pkg.dev
. This resolved the above error and now I have both ClimateTools and ClimatePlots compiled. Maybe all that's needed is an update to the docs?The text was updated successfully, but these errors were encountered: