You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to install from source so I can have more control over the calculations in the fortran scripts. I'm happy to use conda install if there's some way to manually change the fortran calculations, but I can't see that functionality.
Versions:
OS: Windows 11
Python 3.11.3
numpy 1.23.5
wrapt 1.14.1
setuptools 67.7.2
The text was updated successfully, but these errors were encountered:
Got the same error while trying to work with Python 3.11.1, however it's the first time i got the error, since I was able to use wrf-python without any errors before. Were you able to solve it?
My guess would be either PATH issues (you linked against some libraries python can't find: try copying them to the same directory as _wrffortran. The Fortran runtime library is the most obvious candidate) or permission issues (try the Windows version of chmod u+x _wrffortran*.dll). You can get more detail with python -vvvdc 'import wrf', but I'm guessing you've checked the big thing it would tell you (does site-packages/wrf/_wrffortran.*py311*.dll (or whatever the name is) exist, and do the tags in the name match?)
As an alternative, are the variants on the calculations in Fortran something you think others would be interested in? If so, submitting those as a PR might be able to side-step the problems with building from source.
pip install .
runs successfully, but when importing wrf in python I get the following error:I'm trying to install from source so I can have more control over the calculations in the fortran scripts. I'm happy to use
conda install
if there's some way to manually change the fortran calculations, but I can't see that functionality.Versions:
The text was updated successfully, but these errors were encountered: