ошибка при переносе файла в .exe формат

bandofyww

Новичок
Пользователь
Янв 10, 2021
1
0
1
ошибка при переносе файла в .exe формат
вот и сама ошибка!!

ERROR: Command errored out with exit status 1:
command: 'c:\users\сашок\appdata\local\programs\python\python39\python.exe' 'c:\users\сашок\appdata\local\programs\python\python39\lib\site-packages\pip\_vendor\pep517\_in_process.py' prepare_metadata_for_build_wheel 'C:\Temp\tmp__tlqr7l'
cwd: C:\Temp\pip-install-ujebe7yg\pyinstaller_b01e193c6be3401aa11e54b2255ef90a
Complete output (38 lines):
Error in sitecustomize; set PYTHONVERBOSE for traceback:
SyntaxError: (unicode error) 'utf-8' codec can't decode byte 0xf1 in position 0: invalid continuation byte (sitecustomize.py, line 7)
running dist_info
creating C:\Temp\pip-modern-metadata-menu27py\pyinstaller.egg-info
writing C:\Temp\pip-modern-metadata-menu27py\pyinstaller.egg-info\PKG-INFO
writing dependency_links to C:\Temp\pip-modern-metadata-menu27py\pyinstaller.egg-info\dependency_links.txt
writing entry points to C:\Temp\pip-modern-metadata-menu27py\pyinstaller.egg-info\entry_points.txt
writing requirements to C:\Temp\pip-modern-metadata-menu27py\pyinstaller.egg-info\requires.txt
writing top-level names to C:\Temp\pip-modern-metadata-menu27py\pyinstaller.egg-info\top_level.txt
writing manifest file 'C:\Temp\pip-modern-metadata-menu27py\pyinstaller.egg-info\SOURCES.txt'
reading manifest file 'C:\Temp\pip-modern-metadata-menu27py\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:\Temp\pip-modern-metadata-menu27py\pyinstaller.egg-info\SOURCES.txt'
creating 'C:\Temp\pip-modern-metadata-menu27py\pyinstaller.dist-info'
error: invalid command 'bdist_wheel'
----------------------------------------
ERROR: Command errored out with exit status 1: 'c:\users\сашок\appdata\local\programs\python\python39\python.exe' 'c:\users\сашок\appdata\local\programs\python\python39\lib\site-packages\pip\_vendor\pep517\_in_process.py' prepare_metadata_for_build_wheel 'C:\Temp\tmp__tlqr7l' Check the logs for full command output.
 

regnor

Модератор
Команда форума
Модератор
Июл 7, 2020
2 663
474
83
SyntaxError: (unicode error) 'utf-8' codec can't decode
Дело в кириллице в пути до питона, у вас пользователь называется "сашок"...
Выход переименовать своего пользователя, либо переустановить питон в другую папку где в пути не будет кириллицы...
 

Форум IT Специалистов