Skip to content

Python 3.6 install error #12

@woj-evan

Description

@woj-evan

Hello,
I was recently trying to install this package in Python 3.6 but was running into some minor errors when installing. Looking into the issue I found that it was due to a change in distutils over previous versions, where ConfigParser (in older distutils) was renamed into RawConfigParser. All I did was locally change the following lines in setup.py

Original:

conf = config.ConfigParser()

Changed:

try:
    conf = config.ConfigParser()
except:
    conf = config.RawConfigParser()

This fixed my issue; not sure if any others have had this same issue, but it is a fairly simple fix and if you could fix it now in the raw it would be appreciated. Thanks for your time.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions