Skip to content
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

Fix for 'SafeConfigParser' AttributeError in Versioneer #52

Open
ksy141 opened this issue Jan 5, 2025 · 0 comments
Open

Fix for 'SafeConfigParser' AttributeError in Versioneer #52

ksy141 opened this issue Jan 5, 2025 · 0 comments

Comments

@ksy141
Copy link

ksy141 commented Jan 5, 2025

I was trying to install the develop branch but ran into an issue related to versioneer, receiving the following error message:

AttributeError: module configparser has no attribute SafeConfigParser. Did you mean: RawConfigParser?

I was able to resolve this by following a suggestion from an unrelated GitHub discussion that addressed the same problem: pydata/pandas-datareader#969.

Specifically, I replaced SafeConfigParser with ConfigParser and readfp with read_file in versioneer.py. I'm sharing this solution in case others encounter the same issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant