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

Doesn't install on Ubuntu #228

Closed
bakirillov opened this issue Mar 20, 2020 · 2 comments
Closed

Doesn't install on Ubuntu #228

bakirillov opened this issue Mar 20, 2020 · 2 comments

Comments

@bakirillov
Copy link

Describe the bug
pip install -U pyxel
fails with an error:
`class RegexFlag(enum.IntFlag):
AttributeError: module 'enum' has no attribute 'IntFlag'

ERROR: Command errored out with exit status 1: /home/bakirillov/anaconda3/envs/lapki/bin/python /home/bakirillov/anaconda3/envs/lapki/lib/python3.7/site-packages/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-jo98jnqi/overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- 'setuptools>=40.8.0' wheel Check the logs for full command output
`
libsdl-dev is up-to-date (2.0.10+dfsg1-1ubuntu1).
libsdl-image-dev is also up-to-date (2.0.5+dfsg1-1).
Python - 3.7.5.

To Reproduce
Steps to reproduce the behavior:

  1. Run pip install -U pyxel

Expected behavior
It should have installed pyxel.

Screenshots
If applicable, add screenshots to help explain your problem.
image

Desktop (please complete the following information):

  • OS: Ubuntu 19.10
@accidentalrebel
Copy link

There are other packages that has the same error as below:
AttributeError: module 'enum' has no attribute 'IntFlag'

The solution that they found was uninstalling the enum34 package. Have you tried this?

@bakirillov
Copy link
Author

There are other packages that has the same error as below:
AttributeError: module 'enum' has no attribute 'IntFlag'

The solution that they found was uninstalling the enum34 package. Have you tried this?

Tried that now, it works! Thank you very much. Will mark the issue as closed.

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

2 participants