S
S
satyr062020-04-28 18:43:35
Python
satyr06, 2020-04-28 18:43:35

Error installing pyinstaller what to do?

when you type pip install pyinstaller throws a wall with red text like this
ERROR: Command errored out with exit status 1:
command: 'c:\users\koristuvach\appdata\local\programs\python\python38-32\python.exe' ' c:\users\coristuvach\appdata\local\programs\python\python38-32\lib\site-packages\pip' install --ignore-installed --no-user --prefix 'C:\Users\coristuvach\AppData \Local\Temp\pip-build-env-4rqyg1eu\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\coristuvach\appdata\local\programs\python\python38-32\lib\runpy.py", line 193, in _run_module_as_main
return _run_code(code, main_globals, None,
File "c:\users\koristuvach \appdata\local\programs\python\python38-32\lib\runpy.py", line 86, in _run_code
exec(code, run_globals)
File "c:\users\koristuvach\appdata\local\programs\python\python38- 32\lib\site-packages\pip\__main__.py", line 16, in
from pip._internal.cli.main import main as _main # isort:skip # noqa
File "c:\users\koristuvach\appdata\local\ programs\python\python38-32\lib\site-packages\pip\_internal\cli\main.py", line 5, in
import locale
File "c:\users\coristuvach\appdata\local\programs\python\python38-32\lib\locale.py", line 16, in
import re
File "c:\users\coristuvach\appdata\local\programs\python \python38-32\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\coristuvach\appdata\local\programs\ python\python38-32\python.exe' 'c:\users\koristuvach\appdata\local\programs\python\python38-32\lib\site-packages\pip' install --ignore-installed --no-user - -prefix 'C:\Users\CoristuWatch\AppData\Local\Temp\pip-build-env-4rqyg1eu\overlay' --no-warn-script-location --no-binary :none:--only-binary :none: -ihttps://pypi.org/simple -- 'setuptools>=40.8.0' wheel Check the logs for full command output.

How to fix

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Sergey Karbivnichy, 2020-04-28
@hottabxp

Why won't pyinstaller install?

D
Dev12345, 2020-04-28
@Dev12345

Try removing the enum34 library

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question