Ошибка при установке pyinstaller, Failed building wheel for pyinstaller

При вводе pip install pyinstaller, он устанавливается, но под конец красный текст.

Collecting pyinstaller
  Using cached pyinstaller-4.3.tar.gz (3.7 MB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
    Preparing wheel metadata ... done
Collecting pefile>=2017.8.1
  Using cached pefile-2019.4.18-py3-none-any.whl
Requirement already satisfied: setuptools in c:\users\setro\appdata\local\programs\python\python39\lib\site-packages (from pyinstaller) (49.2.1)
Collecting pyinstaller-hooks-contrib>=2020.6
  Using cached pyinstaller_hooks_contrib-2021.1-py2.py3-none-any.whl (181 kB)
Collecting altgraph
  Using cached altgraph-0.17-py2.py3-none-any.whl (21 kB)
Collecting pywin32-ctypes>=0.2.0
  Using cached pywin32_ctypes-0.2.0-py2.py3-none-any.whl (28 kB)
Collecting future
  Using cached future-0.18.2-py3-none-any.whl
Building wheels for collected packages: pyinstaller
  Building wheel for pyinstaller (PEP 517) ... error
  ERROR: Command errored out with exit status 1:
   command: 'c:\users\setro\appdata\local\programs\python\python39\python.exe' 'c:\users\setro\appdata\local\programs\python\python39\lib\site-packages\pip\_vendor\pep517\in_process\_in_process.py' build_wheel 'C:\Users\Setro\AppData\Local\Temp\tmpgqtixbur'
       cwd: C:\Users\Setro\AppData\Local\Temp\pip-install-4x50ub6l\pyinstaller_05dab6c46fb14f61939324d0e9fcf833
  Complete output (68 lines):
  running bdist_wheel
  running build
  running build_bootloader
  running build_py
  creating build
  creating build\lib
  creating build\lib\PyInstaller
  copying PyInstaller\compat.py -> build\lib\PyInstaller
  copying PyInstaller\config.py -> build\lib\PyInstaller
  copying PyInstaller\configure.py -> build\lib\PyInstaller
  copying PyInstaller\exceptions.py -> build\lib\PyInstaller
  copying PyInstaller\log.py -> build\lib\PyInstaller
  copying PyInstaller\_recursion_to_deep_message.py -> build\lib\PyInstaller
  copying PyInstaller\__init__.py -> build\lib\PyInstaller
  copying PyInstaller\__main__.py -> build\lib\PyInstaller
  running egg_info
  writing pyinstaller.egg-info\PKG-INFO
  writing dependency_links to pyinstaller.egg-info\dependency_links.txt
  writing entry points to pyinstaller.egg-info\entry_points.txt
  writing requirements to pyinstaller.egg-info\requires.txt
  writing top-level names to pyinstaller.egg-info\top_level.txt
  warning: the 'license_file' option is deprecated, use 'license_files' instead
  adding license file 'COPYING.txt' (matched pattern 'COPYING.txt')
  reading manifest file 'pyinstaller.egg-info\SOURCES.txt'
  reading manifest template 'MANIFEST.in'
  warning: no files found matching 'pyinstaller-gui.py'
  no previously-included directories found matching 'bootloader\build'
  no previously-included directories found matching 'bootloader\.waf-*'
  no previously-included directories found matching 'bootloader\.waf3-*'
  no previously-included directories found matching 'bootloader\waf-*'
  no previously-included directories found matching 'bootloader\waf3-*'
  no previously-included directories found matching 'bootloader\_sdks'
  no previously-included directories found matching 'bootloader\.vagrant'
  warning: no previously-included files found matching 'bootloader\.lock-waf*'
  no previously-included directories found matching 'doc\source'
  no previously-included directories found matching 'doc\_build'
  warning: no previously-included files matching '*.tmp' found under directory 'doc'
  warning: no files found matching 'news\_template.rst'
  no previously-included directories found matching 'news'
  no previously-included directories found matching 'old'
  no previously-included directories found matching 'scripts'
  no previously-included directories found matching 'tests\scripts'
  no previously-included directories found matching '.github'
  warning: no previously-included files found matching '.*'
  warning: no previously-included files found matching '*.yml'
  warning: no previously-included files found matching '*~'
  warning: no previously-included files found matching '.directory'
  writing manifest file 'pyinstaller.egg-info\SOURCES.txt'
  creating build\lib\PyInstaller\archive
  copying PyInstaller\archive\__init__.py -> build\lib\PyInstaller\archive
  copying PyInstaller\archive\pyz_crypto.py -> build\lib\PyInstaller\archive
  copying PyInstaller\archive\readers.py -> build\lib\PyInstaller\archive
  copying PyInstaller\archive\writers.py -> build\lib\PyInstaller\archive
  creating build\lib\PyInstaller\bootloader
  creating build\lib\PyInstaller\bootloader\Darwin-64bit
  copying PyInstaller\bootloader\Darwin-64bit\run -> build\lib\PyInstaller\bootloader\Darwin-64bit
  copying PyInstaller\bootloader\Darwin-64bit\run_d -> build\lib\PyInstaller\bootloader\Darwin-64bit
  copying PyInstaller\bootloader\Darwin-64bit\runw -> build\lib\PyInstaller\bootloader\Darwin-64bit
  copying PyInstaller\bootloader\Darwin-64bit\runw_d -> build\lib\PyInstaller\bootloader\Darwin-64bit
  creating build\lib\PyInstaller\bootloader\Linux-32bit
  copying PyInstaller\bootloader\Linux-32bit\run -> build\lib\PyInstaller\bootloader\Linux-32bit
  copying PyInstaller\bootloader\Linux-32bit\run_d -> build\lib\PyInstaller\bootloader\Linux-32bit
  creating build\lib\PyInstaller\bootloader\Linux-64bit
  copying PyInstaller\bootloader\Linux-64bit\run -> build\lib\PyInstaller\bootloader\Linux-64bit
  copying PyInstaller\bootloader\Linux-64bit\run_d -> build\lib\PyInstaller\bootloader\Linux-64bit
  creating build\lib\PyInstaller\bootloader\Windows-32bit
  copying PyInstaller\bootloader\Windows-32bit\run.exe -> build\lib\PyInstaller\bootloader\Windows-32bit
  error: could not open 'PyInstaller\bootloader\Windows-32bit\run.exe': Invalid argument
  ----------------------------------------
  ERROR: Failed building wheel for pyinstaller
Failed to build pyinstaller
ERROR: Could not build wheels for pyinstaller which use PEP 517 and cannot be installed directly

Ответы (0 шт):