Closed ehinman closed 3 weeks ago
You have installed a very old version of pynhd
, 0.2.0. Please update to the latest HyRiver version series, 0.18.x.
Ah ok, thanks. Do I need to force the version for conda to automatically install a newer version? Is 0.2.0 an official release or something?
I'd just create a new env and set min version of all HyRiver packages to 0.18, e.g., pynhd >=0.18
. This should fix all version conflict issues.
I will close this issue now; I was able to solve my problems. One thing to be aware of: I use miniforge
to create my python environments. If a python version is not specified, it automatically installs python 3.13
. python 3.13
appears to have a conflict with the version of pyarrow
needed for pynhd 0.18.0
. Additionally, if you do not specify a version of pynhd
when using python 3.13
, it automatically installs pynhd 0.2.0
. I have to specify that the environment uses python<3.13
to get everything to install and import correctly. Thank you for your support!
I see. That's strange. Version 0.2.0 was released 4 years ago! I am guessing it has to do with geopandas>=1
.
What happened?
I am trying to import the
WaterData
module frompynhd
. I am getting an error message and the module fails to load.What did you expect to happen?
I expected the module to load with no issues.
Minimal Complete Verifiable Example
MVCE confirmation
Relevant log output
Anything else we need to know?
Thanks for your help, I am fairly certain this is user error of some kind, but unsure what I've done.
Environment
I'm not sure how to run this line. I just tried to run
import pynhd
and I got the same error as reported above. Here are the versions, manually: