ich möchte mir unter Windows 7 pyinstaller installieren.
Ich habe bereits mehrere möglichkeiten ausprobiert:
und auch in mit cd C:\Users\Tobias_Arbeit\AppData\Local\Programs\Python\Python37pip install pyinstaller
pip install PyInstaller
und dann
python -m pip install ...
allerdings komm jedesmal diese Fehlermeldung:
Collecting pyinstaller
Using cached https://files.pythonhosted.org/packages ... 7ba3639548
3a672fddd07e6a9cb2b8d3c4a28d7ae76c7e7e1e5/PyInstaller-3.5.tar.gz
Installing build dependencies ... error
ERROR: Command errored out with exit status 1:
command: 'c:\users\tobias_arbeit\appdata\local\programs\python\python37\pytho
n.exe' 'c:\users\tobias_arbeit\appdata\local\programs\python\python37\lib\site-p
ackages\pip' install --ignore-installed --no-user --prefix 'C:\Users\TOBIAS~1\Ap
pData\Local\Temp\pip-build-env-ryv6jds7\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\tobias_arbeit\appdata\local\programs\python\python37\lib\runp
y.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "c:\users\tobias_arbeit\appdata\local\programs\python\python37\lib\runp
y.py", line 85, in _run_code
exec(code, run_globals)
File "c:\users\tobias_arbeit\appdata\local\programs\python\python37\lib\site
-packages\pip\__main__.py", line 16, in <module>
from pip._internal import main as _main # isort:skip # noqa
File "c:\users\tobias_arbeit\appdata\local\programs\python\python37\lib\site
-packages\pip\_internal\__init__.py", line 4, in <module>
import locale
File "c:\users\tobias_arbeit\appdata\local\programs\python\python37\lib\loca
le.py", line 16, in <module>
import re
File "c:\users\tobias_arbeit\appdata\local\programs\python\python37\lib\re.p
y", line 143, in <module>
class RegexFlag(enum.IntFlag):
AttributeError: module 'enum' has no attribute 'IntFlag'
----------------------------------------
ERROR: Command errored out with exit status 1: 'c:\users\tobias_arbeit\appdata\l
ocal\programs\python\python37\python.exe' 'c:\users\tobias_arbeit\appdata\local\
programs\python\python37\lib\site-packages\pip' install --ignore-installed --no-
user --prefix 'C:\Users\TOBIAS~1\AppData\Local\Temp\pip-build-env-ryv6jds7\overl
ay' --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 o
utput.