-
Notifications
You must be signed in to change notification settings - Fork 72
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
TypeError: str argument expected with fresh install on Python 3.10.1 #65
Comments
Huh, so I manually uninstalled
Perhaps it is worth bumping |
As a quick workaround to get the state information from the full name, I used this: abbrev = states.mapping('name','abbr').get("Maryland")
state = states.lookup(abbrev) and then you can access all the fields >>> state.capital
'Annapolis'
>>> state.fips
'24' The only gotcha is that the full name MUST be capitalized. |
@jcarbaugh is this project actively maintained? I'd be willing to help maintain this package, if that is welcome. |
I could also help if more maintainer help is needed. |
As a clarification, since this is a library, I believe that this shouldn't be pinned to a specific jellyfish version, but a range. For instance, in my app I might have a requirement for jellyfish>=0.9.0, but if this library is hard pinned to jellyfish==0.8.0, then those two requirements are incompatible and I'm going to get that install error. |
Yeah, I agree with this. I assume jellyfish was pinned for some reason, but I do not know what that reason is. |
I think this is actually an upstream issue with jellyfish: jamesturk/jellyfish#160 but updating to jellyfish>=0.9.0 DID fix it for me. So I'm not quite sure what version of jellyfish / version of python the bug began showing up. If anyone can clarify, please do |
On
Python 3.10.1
, a freshpip install us
yields this TypeError:This is the output of
pip freeze
:Is this a known issue?
The text was updated successfully, but these errors were encountered: