-1

Я пишу pip install pyinstaller, после чего выводится это:

Collecting pyinstaller   Using cached PyInstaller-3.6.tar.gz (3.5 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\user\пайтон\python.exe' 'c:\users\user\пайтон\lib\site-packages\pip\_vendor\pep517\_in_process.py' prepare_metadata_for_build_wheel 'C:\Users\User\AppData\Local\Temp\tmp2yoeth8q'
         cwd: C:\Users\User\AppData\Local\Temp\pip-install-mfo6jkm_\pyinstaller
    Complete output (36 lines):
    running dist_info
    creating C:\Users\User\AppData\Local\Temp\pip-modern-metadata-cek2oer3\PyInstaller.egg-info
    writing C:\Users\User\AppData\Local\Temp\pip-modern-metadata-cek2oer3\PyInstaller.egg-info\PKG-INFO
    writing dependency_links to C:\Users\User\AppData\Local\Temp\pip-modern-metadata-cek2oer3\PyInstaller.egg-info\dependency_links.txt
    writing entry points to C:\Users\User\AppData\Local\Temp\pip-modern-metadata-cek2oer3\PyInstaller.egg-info\entry_points.txt
    writing requirements to C:\Users\User\AppData\Local\Temp\pip-modern-metadata-cek2oer3\PyInstaller.egg-info\requires.txt
    writing top-level names to C:\Users\User\AppData\Local\Temp\pip-modern-metadata-cek2oer3\PyInstaller.egg-info\top_level.txt
    writing manifest file 'C:\Users\User\AppData\Local\Temp\pip-modern-metadata-cek2oer3\PyInstaller.egg-info\SOURCES.txt'
    reading manifest file 'C:\Users\User\AppData\Local\Temp\pip-modern-metadata-cek2oer3\PyInstaller.egg-info\SOURCES.txt'
    reading manifest template 'MANIFEST.in'
    Error in sitecustomize; set PYTHONVERBOSE for traceback:
    SyntaxError: (unicode error) 'utf-8' codec can't decode byte 0xef in position 0: invalid continuation byte (sitecustomize.py, line 7)
    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 'C:\Users\User\AppData\Local\Temp\pip-modern-metadata-cek2oer3\PyInstaller.egg-info\SOURCES.txt'
    creating 'C:\Users\User\AppData\Local\Temp\pip-modern-metadata-cek2oer3\PyInstaller.dist-info'
    error: invalid command 'bdist_wheel'
    ---------------------------------------- ERROR: Command errored out with exit status 1: 'c:\users\user\пайтон\python.exe' 'c:\users\user\пайтон\lib\site-packages\pip\_vendor\pep517\_in_process.py' prepare_metadata_for_build_wheel 'C:\Users\User\AppData\Local\Temp\tmp2yoeth8q' Check the logs for full command output.

Что делать?

2 ответа 2

2

Избавься от кирилицы в путях c:\users\user\пайтон

0
1

я решил данную проблему, надо было ввести pip install whell

Ваш ответ

By clicking “Отправить ответ”, you agree to our terms of service and acknowledge you have read our privacy policy.

Всё ещё ищете ответ? Посмотрите другие вопросы с метками или задайте свой вопрос.