-
Notifications
You must be signed in to change notification settings - Fork 33
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
Running into Runtime error while trying to import eccodes #24
Comments
The conda package 'eccodes' at the moment only includes the library itself; not its Python interface. This is sufficient to make dependencies, such as cfgrib, Magics and Metview work. To use the low-level Python API you need to install it with "pip install eccodes". Very soon the Python interface should be part of the conda install. |
|
Sorry, took me a while to get a Windows machine to test. For me eccodes and cfgrib work. You say "conda install eccodes - Doesn't work for me at all." What does not work? Do you get an error when you run the install command? |
|
As with 'cfgrib' (ecmwf/cfgrib#136) 'eccodes' is only available from the conda-forge repo. As described on https://github.com/ecmwf/eccodes-python, you can install eccodes with "conda install -c conda-forge eccodes". |
With "conda install -c conda-forge eccodes" I have a very big error (like 1000+ lines) so I will paste only this:
So this means I need other version of CUDA driver and anaconda? |
I tried various versions and combinations of packages under Windows but I am not able to reproduce your error. A bit googling showed me that others (unrelated to eccodes) have challenges with conda and cuda. Could you try an conda environment without cuda? |
It seems like it has conflict with everything:
List like above is very long (over 6000 lines). |
i am having same problem but using venv. I am using vs code, on windows 11 please help |
Hi I am trying to import eccodes in my python code and I run into error :
Command
python -m cfgrib selfcheck
returns
I am using Windows 10 and latest relase of conda and python
The text was updated successfully, but these errors were encountered: