google-deepmind / google-deepmind/weathernext

package incompatibility between graphcast, xarray, pandas and numpy

Open
#196 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
7.7k
Forks
986
PR merge metrics
No merged PRs in 30d

Description

Hi there,
I am trying to install and run the demo code here: https://github.com/google-deepmind/graphcast/blob/main/graphcast_demo.ipynb
and the simple import here: `from graphcast import casting` leads to
```
---> 13 from pandas._libs.interval import Interval
14 from pandas._libs.tslibs import (
15 NaT,
16 NaTType,
(...)
21 iNaT,
22 )

File ~/miniconda3/lib/python3.10/site-packages/pandas/_libs/interval.pyx:1, in init pandas._libs.interval()

ValueError: numpy.dtype size changed, may indicate binary incompatibility. Expected 96 from C header, got 88 from PyObject
```
I have tried different versions of pandas, numpy and no luck. any ideas? thanks.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.