Загрузка...

Pip install pyinstaller throws an error what to do

Thread in Python created by 4L3K54NDR Nov 24, 2019. 428 views

  1. 4L3K54NDR
    4L3K54NDR Topic starter Nov 24, 2019 1 Jul 17, 2017
    Code

    C:\Python>pip install pyinstaller
    Collecting pyinstaller
    Using cached https://files.pythonhosted.org/packages/e2/c9/0b44b2ea87ba36395483a672fddd07e6a9cb2b8d3c4a28d7ae76c7e7e1e5/PyInstaller-3.5.tar.gz
    Installing build dependencies ... done
    Getting requirements to build wheel ... done
    Preparing wheel metadata ... error
    ERROR: Command errored out with exit status 1:
    command: 'c:\python38\python.exe' 'c:\python38\lib\site-packages\pip\_vendor\pep517\_in_process.py' prepare_metadata_for_build_wheel 'C:\Users\8523~1\AppData\Local\Temp\tmpamokp7b4'
    cwd: C:\Users\Александр\AppData\Local\Temp\pip-install-pwp_ap00\pyinstaller
    Complete output (36 lines):
    running dist_info
    creating C:\Users\Александр\AppData\Local\Temp\pip-modern-metadata-w64noa33\PyInstaller.egg-info
    writing C:\Users\Александр\AppData\Local\Temp\pip-modern-metadata-w64noa33\PyInstaller.egg-info\PKG-INFO
    writing dependency_links to C:\Users\Александр\AppData\Local\Temp\pip-modern-metadata-w64noa33\PyInstaller.egg-info\dependency_links.txt
    writing entry points to C:\Users\Александр\AppData\Local\Temp\pip-modern-metadata-w64noa33\PyInstaller.egg-info\entry_points.txt
    writing requirements to C:\Users\Александр\AppData\Local\Temp\pip-modern-metadata-w64noa33\PyInstaller.egg-info\requires.txt
    writing top-level names to C:\Users\Александр\AppData\Local\Temp\pip-modern-metadata-w64noa33\PyInstaller.egg-info\top_level.txt
    writing manifest file 'C:\Users\Александр\AppData\Local\Temp\pip-modern-metadata-w64noa33\PyInstaller.egg-info\SOURCES.txt'
    reading manifest file 'C:\Users\Александр\AppData\Local\Temp\pip-modern-metadata-w64noa33\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 0xc0 in position 0: invalid start byte (sitecustomize.py, line 21)
    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\Александр\AppData\Local\Temp\pip-modern-metadata-w64noa33\PyInstaller.egg-info\SOURCES.txt'
    creating 'C:\Users\Александр\AppData\Local\Temp\pip-modern-metadata-w64noa33\PyInstaller.dist-info'
    error: invalid command 'bdist_wheel'
    ----------------------------------------
    ERROR: Command errored out with exit status 1: 'c:\python38\python.exe' 'c:\python38\lib\site-packages\pip\_vendor\pep517\_in_process.py' prepare_metadata_for_build_wheel 'C:\Users\8523~1\AppData\Local\Temp\tmpamokp7b4' Check the **** for full command output.

    Вот ребят , не понимаю в чем дело , так как только сел за изучение этого языка
     
  2. hydrugz
    hydrugz Nov 24, 2019 Жизнь за нерзула 338 May 5, 2019
  3. sesu
    sesu Nov 24, 2019 Ты не умеешь писать код 114 Nov 17, 2019
    4L3K54NDR, Поставь виртуальное окружение и там делай, так велик шанс что будут конфликты
    The post was merged to previous Nov 24, 2019
    hydrugz, Ну ка, неофетч пропиши
     
  4. ZLOCODE
    ZLOCODE Nov 24, 2019 WRITE CODE ONE LOVE 28 Apr 18, 2019
    обнови pip, не спрашивай как загугли
     
Loading...
Top