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

pip install smw error #3

Open
MitchBarnett opened this issue Mar 25, 2019 · 1 comment
Open

pip install smw error #3

MitchBarnett opened this issue Mar 25, 2019 · 1 comment

Comments

@MitchBarnett
Copy link

running pip install smw and pip install git+git://github.com/baojie/smw.git
gives the error Command "python setup.py egg_info" failed with error code 1 in C:\Users\Username\AppData\Local\Temp\pip-install-xnl5se48\enum\

full log:

C:\WINDOWS\system32>pip install git+git://github.com/baojie/smw.git
Collecting git+git://github.com/baojie/smw.git
  Cloning git://github.com/baojie/smw.git to c:\users\username\appdata\local\temp\pip-req-build-2clo57zu
Requirement already satisfied: mwclient>=0.7dev in c:\users\username\appdata\local\programs\python\python37-32\lib\site-packages (from smw==0.1.3.3) (0.9.3)
Collecting rdflib (from smw==0.1.3.3)
  Using cached https://files.pythonhosted.org/packages/3c/fe/630bacb652680f6d481b9febbb3e2c3869194a1a5fc3401a4a41195a2f8f/rdflib-4.2.2-py3-none-any.whl
Collecting beautifulsoup4 (from smw==0.1.3.3)
  Using cached https://files.pythonhosted.org/packages/1d/5d/3260694a59df0ec52f8b4883f5d23b130bc237602a1411fa670eae12351e/beautifulsoup4-4.7.1-py3-none-any.whl
Collecting enum (from smw==0.1.3.3)
  Using cached https://files.pythonhosted.org/packages/02/a0/32e1d5a21b703f600183e205aafc6773577e16429af5ad3c3f9b956b07ca/enum-0.4.7.tar.gz
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "c:\users\username\appdata\local\programs\python\python37-32\lib\site-packages\setuptools\__init__.py", line 6, in <module>
        import distutils.core
      File "c:\users\username\appdata\local\programs\python\python37-32\lib\distutils\core.py", line 16, in <module>
        from distutils.dist import Distribution
      File "c:\users\username\appdata\local\programs\python\python37-32\lib\distutils\dist.py", line 9, in <module>
        import re
      File "c:\users\username\appdata\local\programs\python\python37-32\lib\re.py", line 143, in <module>
        class RegexFlag(enum.IntFlag):
    AttributeError: module 'enum' has no attribute 'IntFlag'

    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in C:\Users\Username\AppData\Local\Temp\pip-install-xnl5se48\enum\

@Kugeleis
Copy link

Kugeleis commented Feb 7, 2021

same here, any solution out there?

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