Instructions for installing from source are out of date
Hello. An Ubuntu 24 box is using pip 24.0 where the latest available version wrf-python is 1.3.4.1, which crashes because it cannot find 'numpy.distutils.' Before proceeding any further, I was wondering if this dependency has been eliminated in v 1.4.1. Thanks.
@afernandezody, it should be addressed in v1.4.1. However, you'll need to install via mamba/conda or directly from the source code rather than pip for the time being.
Unfortunately, we have quite limited resources for WRF-Python maintenance and the PyPI releases aren't working properly at the moment.
I'm going to close this out for now, but feel free to reopen if you have questions or concerns.
@kafitzgerald. The problem now is that the instructions for compiling from source seem outdated (they refer to setup.py instead of pyproject.toml), and there's a couple of open threads related to pyproject.toml issues. Thanks.
@afernandezody, thanks for noting that! It must've have been missed when we updated the packaging recently. I'll work on getting that updated and leave this open until that's been done.
If you don't need OpenMP support, you should be able to do something like the following so long as you have the necessary compilers available:
git clone https://github.com/NCAR/wrf-python.git
cd wrf-python
pip install .
That worked. Thanks!