billy-yoyo / RainbowSixSiege-Python-API

Asynchronous python api for rainbow six siege (r6sapi)
MIT License
130 stars 31 forks source link

Error when you do 'pip install r6sapi' #45

Closed UltimateDucc closed 4 years ago

UltimateDucc commented 4 years ago

Error when typing 'pip install r6sapi'

Output/Error:

`ERROR: Command errored out with exit status 1: command: 'c:\users\zacis\appdata\local\programs\python\python37\python.exe' 'c:\users\zacis\appdata\local\programs\python\python37\lib\site-packages\pip' install --ignore-installed --no-user --prefix 'C:\Users\zacis\AppData\Local\Temp\pip-build-env-f23exrcu\overlay' --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- 'setuptools>=40.8.0' wheel cwd: None Complete output (14 lines): Traceback (most recent call last): File "c:\users\zacis\appdata\local\programs\python\python37\lib\runpy.py", line 193, in _run_module_as_main "main", mod_spec) File "c:\users\zacis\appdata\local\programs\python\python37\lib\runpy.py", line 85, in _run_code exec(code, run_globals) File "c:\users\zacis\appdata\local\programs\python\python37\lib\site-packages\pip__main.py", line 16, in from pip._internal import main as _main # isort:skip # noqa File "c:\users\zacis\appdata\local\programs\python\python37\lib\site-packages\pip_internal\init__.py", line 4, in import locale File "c:\users\zacis\appdata\local\programs\python\python37\lib\locale.py", line 16, in import re File "c:\users\zacis\appdata\local\programs\python\python37\lib\re.py", line 143, in class RegexFlag(enum.IntFlag): AttributeError: module 'enum' has no attribute 'IntFlag'

ERROR: Command errored out with exit status 1: 'c:\users\zacis\appdata\local\programs\python\python37\python.exe' 'c:\users\zacis\appdata\local\programs\python\python37\lib\site-packages\pip' install --ignore-installed --no-user --prefix 'C:\Users\zacis\AppData\Local\Temp\pip-build-env-f23exrcu\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.`

NOTE: My PIP and Python work fine; this is the only error I've had installing a package.

billy-yoyo commented 4 years ago

Is there a file called "enum.py" in your working directory? Looks like that important is being overriden

UltimateDucc commented 4 years ago

Yes there is, is there a way to still install it?

billy-yoyo commented 4 years ago

Install from a different folder

UltimateDucc commented 4 years ago

I had to pip uninstall enum34