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 enum34 incompatibility with Python 3.6 #771

Merged
merged 1 commit into from
Oct 14, 2019
Merged

Fix enum34 incompatibility with Python 3.6 #771

merged 1 commit into from
Oct 14, 2019

Conversation

wizmer
Copy link
Contributor

@wizmer wizmer commented Oct 11, 2019

Uses the package enum-compat that only installs enum34 for python < 3.4

The error on python 3.6 was:
AttributeError: module 'enum' has no attribute 'IntFlag'

See:
https://stackoverflow.com/questions/43124775/why-python-3-6-1-throws-attributeerror-module-enum-has-no-attribute-intflag

Uses the package enum-compat that only installs enum34 for python < 3.4

The error on python 3.6 was:
AttributeError: module 'enum' has no attribute 'IntFlag'

See:
https://stackoverflow.com/questions/43124775/why-python-3-6-1-throws-attributeerror-module-enum-has-no-attribute-intflag
@wizmer
Copy link
Contributor Author

wizmer commented Oct 11, 2019

To reproduce the problem on Python 3.6, simply execute pip install neurom twice in a row.

@wizmer wizmer merged commit 5220b8c into BlueBrain:master Oct 14, 2019
@wizmer wizmer deleted the enum branch October 14, 2019 08:12
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