how can i install wrf-python through pip and solve these bugs?
Here are the errors I met while I tried too pip install [wrf_python] python Version 3.13.2 numpy Version 2.3.2
Unfortunately, there's not currently a release on PyPI that's compatible with Python 3.13.
Downgrading to Python 3.12 should help or you should be able to install from source in a Python 3.13 environment though we are still working on some NumPy compatibility issues (see #275).
Options:
- Pin Python < 3.12 (before distutils was removed) and NumPy < 2.0
-
pip install git+https://github.com/NCAR/wrf-python(#242 has Python>=3.12 compatibility; alternately,pip install git+https://github.com/kprussing/wrf-python@developto pull in #261)
With #261 in, does pip install git+https://github.com/NCAR/wrf-python work for you?
Seems to resolve and build for Python 3.12+ and Numpy 2 now from the git repository.