Scheduled Downtime
On Friday 21 April 2023 @ 5pm MT, this website will be down for maintenance and expected to return online the morning of 24 April 2023 at the latest

Issues with installing wrf-python on Red Hat Enterprise

Avogt

New member
Good Morning,
I am attempting to install wrf-python on the Red Hat Enterprise platform. I initially attempted to install wrf-python using the "pip install ." method but obtained the following error:
1698774139169.png

I double checked the python requirements and it appears that they are all met based on the documentation associated to wrf-python. I then attempted to use the build scripts method and got the same error as seen here (2 screenshots):

1/2:
1698774350555.png

2/2:
1698774483661.png

Are there any suggestions as to how to solve this? I have search various other support forums with not success.

Any ideas or suggestions are greatly appreciated.

**Please note: Conda is not a sufficient resolution unfortunately.


Thank you so much in advance.

 
Good afternoon,

So WRF python is tricky to install using pip because there are specific packages that need to be installed with specific version numbers. I usually install WRF-Python using a conda environment where I can freeze the packages and designate specific version numbers for each package.

Here's the list that I use @Avogt


YAML:
name: wrf-python
channels:
  - conda-forge
  - defaults
dependencies:
  # Critical Packages with Frozen Versions
  - python=3.11.5
  - wrf-python=1.3.4.1
  - cartopy=0.23.0
  - shapely=1.8.5
  - netcdf4=1.6.3
  - hdf5=1.12.2

  # Essential Third-Party Libraries
  - numpy=1.24.2
  - scipy=1.11.2
  - matplotlib=3.6.3
  - pandas=1.5.3
  - xarray=2023.3.0
  - metpy=1.5.1
  - geopandas=0.14.0
  - fiona=1.9.5
  - bokeh=3.2.2
  - pillow=9.4.0
  - requests=2.28.2

  # Additional Useful Packages
  - pip  # Ensure pip is installed to handle any Pip-only packages

  # Pip Dependencies (if any)
  - pip:
      - attrs==23.1.0
      - click-plugins==1.1.1
      - cligj==0.7.2
      - fiona==1.9.5
      - geopandas==0.14.0
      - numpy==1.24.2
      - pandas==1.5.3
      - pip==23.0.1
      - platformdirs==3.2.0
      - requests==2.28.2
      - setuptools==67.7.2
      - urllib3==1.26.17
      - wget==3.2
      - xarray==2023.3.0
 
Top