Ошибка установки библиотек!

У меня ошибка установки очень многих библиотек. код ошибки идентичный для других.

    C:\Users\Печка>pip3 install pyinstaller
Collecting pyinstaller
  Using cached pyinstaller-4.2.tar.gz (3.6 MB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
    Preparing wheel metadata ... error
    ERROR: Command errored out with exit status 1:
     command: 'C:\Users\Печка\AppData\Local\Microsoft\WindowsApps\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\python.exe' 'C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.496.0_x64__qbz5n2kfra8p0\lib\site-packages\pip\_vendor\pep517\_in_process.py' prepare_metadata_for_build_wheel 'C:\Users\E898~1\AppData\Local\Temp\tmp5h5ebp4y'
         cwd: C:\Users\Печка\AppData\Local\Temp\pip-install-uvwc84hh\pyinstaller
    Complete output (38 lines):
    Error in sitecustomize; set PYTHONVERBOSE for traceback:
    SyntaxError: (unicode error) 'utf-8' codec can't decode byte 0xcf in position 0: invalid continuation byte (sitecustomize.py, line 21)
    running dist_info
    creating C:\Users\Печка\AppData\Local\Temp\pip-modern-metadata-3iv43m0g\pyinstaller.egg-info
    writing C:\Users\Печка\AppData\Local\Temp\pip-modern-metadata-3iv43m0g\pyinstaller.egg-info\PKG-INFO
    writing dependency_links to C:\Users\Печка\AppData\Local\Temp\pip-modern-metadata-3iv43m0g\pyinstaller.egg-info\dependency_links.txt
    writing entry points to C:\Users\Печка\AppData\Local\Temp\pip-modern-metadata-3iv43m0g\pyinstaller.egg-info\entry_points.txt
    writing requirements to C:\Users\Печка\AppData\Local\Temp\pip-modern-metadata-3iv43m0g\pyinstaller.egg-info\requires.txt
    writing top-level names to C:\Users\Печка\AppData\Local\Temp\pip-modern-metadata-3iv43m0g\pyinstaller.egg-info\top_level.txt
    writing manifest file 'C:\Users\Печка\AppData\Local\Temp\pip-modern-metadata-3iv43m0g\pyinstaller.egg-info\SOURCES.txt'
    reading manifest file 'C:\Users\Печка\AppData\Local\Temp\pip-modern-metadata-3iv43m0g\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'
    warning: no previously-included files matching '*.py[co]' found anywhere in distribution
    writing manifest file 'C:\Users\Печка\AppData\Local\Temp\pip-modern-metadata-3iv43m0g\pyinstaller.egg-info\SOURCES.txt'
    creating 'C:\Users\Печка\AppData\Local\Temp\pip-modern-metadata-3iv43m0g\pyinstaller.dist-info'
    error: invalid command 'bdist_wheel'
    ----------------------------------------
ERROR: Command errored out with exit status 1: 'C:\Users\Печка\AppData\Local\Microsoft\WindowsApps\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\python.exe' 'C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.496.0_x64__qbz5n2kfra8p0\lib\site-packages\pip\_vendor\pep517\_in_process.py' prepare_metadata_for_build_wheel 'C:\Users\E898~1\AppData\Local\Temp\tmp5h5ebp4y' Check the logs for full command output.

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

Автор решения: Kers

У вас ругается на отсутствие wheel. error: invalid command 'bdist_wheel' Решение - установить его:

pip install wheel

После этого уже пробуйте устанавливать необходимые пакеты.

→ Ссылка