New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pynhd: GeoConnex NameError #62
Comments
It seems that you forgot to import import pynhd
gage = pynhd.geoconnex("gages", query={"provider_id": "01031500"}) |
I just tried it with |
What's the output of |
apparently my python version has been reverted to my 3.7 version in this IDE so I will have to change that to python 3.10 but other than that, would any of these other things be an issue? INSTALLED VERSIONScommit: None aiodns: 3.0.0 |
Since |
I can't seem to update the pynhd version. |
Right, the reason is that |
Did you still have this issue after the update? |
No, issue resolved. Thanks. |
I'm using PythonWin with Python version 3.10 on a windows PC. I was trying out the quick start code for the pynhd package. Once I hit the code:
gcx = GeoConnex("gages")
. I get a NameError: name GeoConnex is not defined.I expected my code to assign the value GeoConnex("gages") to the variable gcx.
import pynhd
gcx = GeoConnex("gages")
The text was updated successfully, but these errors were encountered: