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

Py2/3 Compatible Imports for ConfigParser #126

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

teward
Copy link

@teward teward commented May 12, 2017

Py3 renamed 'ConfigParser' to 'configparser'. This fails on Py3 setup, because it tries to import 'ConfigParser' and not 'configparser'. Otherwise it should work identically.

Note that I got here from the PyPI page. Unless you upload a Python2 only wheel and not a Python3 wheel, it's going to be able to install from the source you uploaded, which is not yet Python3 compatible. However, this change should fix the Py3 problem.

Py3 renamed 'ConfigParser' to 'configparser'.  This fails on Py3 setup, because it tries to import 'ConfigParser' and not 'configparser'.  Otherwise it should work identically.
@hugovk
Copy link

hugovk commented Jun 9, 2018

These are duplicates: #59, #126, #136, #138.

A fix is also included in #62.

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

Successfully merging this pull request may close these issues.

2 participants