Closed jdb2303 closed 6 years ago
That will be something inside pyspharm. Can you provide details on how you installed windspharm and pyspharm please, and which versions of each you are using.
Also the full traceback would be helpful.
I pip installed them. I'm using windspharm version 1.5.1 and pyspharm version 1.0.8. Here is the full traceback:
AttributeError Traceback (most recent call last)
Are you sure the pip install of pyspharm was successful? shaesi
is a fortran subroutine wrapped by f2py, and should always be present in a successful build.
I just tried pip uninstalling pyspharm, and then pip installing it again and it says it installed successfully. It's still not working though, so presumably something's going wrong somewhere during installation.
I can't even pip install it, looks like the download link on PyPI isn't there... I don't know what's going on there. Anyway, I suggest downloading from github and installing from source.
I usually recommend conda + conda-forge for installing these packages as it takes the pain out of it.
I tried downloading it from github and it still didn't work - not sure why but I've now installed both pyspharm and windspharm using Anaconda and it's all working - thanks for your help!
I've just installed both windspharm and pyspharm and am currently trying to get the example here to work before adapting it for my own uses. I can successfully load windspharm and the code works up until the line:
w = VectorWind(uwnd, vwnd)
which produces the error:
'module' object has no attribute 'shaesi'
I'm not sure if this is an issue with windspharm or pyspharm, but I thought I'd try here as Google hasn't provided any answers. Thanks!