@indexOff
Начинающий разработчик

Почему выдает ошибку при скачивании pyinstaller??

Пытаюсь установить pyinstaller - не выходит, выдает ошибку, почему?
Вот текст ошибки в консоли:
P.S: У меня windows

C:\Users\Сергей>pip install pyinstaller
Collecting pyinstaller
Using cached https://files.pythonhosted.org/packages/03/32/0e0d...
7eed562496d154ef4460fd5cecfd78612ef39a0cc/PyInstaller-3.4.tar.gz
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing wheel metadata ... error
ERROR: Complete output from command 'c:\users\сергей\appdata\local\programs
python\python37-32\python.exe' 'c:\users\сергей\appdata\local\programs\python\p
thon37-32\lib\site-packages\pip\_vendor\pep517\_in_process.py' prepare_metadata
for_build_wheel 'C:\Users\D899~1\AppData\Local\Temp\tmpaik5ymov':
ERROR: running dist_info
creating C:\Users\D899~1\AppData\Local\Temp\pip-install-u_s4d51x\pyinstalle
\pip-wheel-metadata\PyInstaller.egg-info
writing C:\Users\D899~1\AppData\Local\Temp\pip-install-u_s4d51x\pyinstaller
pip-wheel-metadata\PyInstaller.egg-info\PKG-INFO
writing dependency_links to C:\Users\D899~1\AppData\Local\Temp\pip-install-
_s4d51x\pyinstaller\pip-wheel-metadata\PyInstaller.egg-info\dependency_links.tx

writing entry points to C:\Users\D899~1\AppData\Local\Temp\pip-install-u_s4
51x\pyinstaller\pip-wheel-metadata\PyInstaller.egg-info\entry_points.txt
writing requirements to C:\Users\D899~1\AppData\Local\Temp\pip-install-u_s4
51x\pyinstaller\pip-wheel-metadata\PyInstaller.egg-info\requires.txt
writing top-level names to C:\Users\D899~1\AppData\Local\Temp\pip-install-u
s4d51x\pyinstaller\pip-wheel-metadata\PyInstaller.egg-info\top_level.txt
writing manifest file 'C:\Users\D899~1\AppData\Local\Temp\pip-install-u_s4d
1x\pyinstaller\pip-wheel-metadata\PyInstaller.egg-info\SOURCES.txt'
reading manifest file 'C:\Users\D899~1\AppData\Local\Temp\pip-install-u_s4d
1x\pyinstaller\pip-wheel-metadata\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 0xf1 in positi
n 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 director
'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\D899~1\AppData\Local\Temp\pip-install-u_s4d
1x\pyinstaller\pip-wheel-metadata\PyInstaller.egg-info\SOURCES.txt'
creating 'C:\Users\D899~1\AppData\Local\Temp\pip-install-u_s4d51x\pyinstall
r\pip-wheel-metadata\PyInstaller.dist-info'
error: invalid command 'bdist_wheel'
----------------------------------------
ERROR: Command "'c:\users\сергей\appdata\local\programs\python\python37-32\pyth
n.exe' 'c:\users\сергей\appdata\local\programs\python\python37-32\lib\site-pack
ges\pip\_vendor\pep517\_in_process.py' prepare_metadata_for_build_wheel 'C:\Use
s\D899~1\AppData\Local\Temp\tmpaik5ymov'" failed with error code 1 in C:\Users\
899~1\AppData\Local\Temp\pip-install-u_s4d51x\pyinstaller
  • Вопрос задан
  • 2773 просмотра
Решения вопроса 1
AnkoII
@AnkoII
Студент
SyntaxError: (unicode error) 'utf-8' codec can't decode byte 0xf1 in positi
n 0: invalid continuation byte (sitecustomize.py, line 7)
Потому что в пути русские буквы. Пробуй менять имя папки сергей на английское
Ответ написан
Пригласить эксперта
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Войти через центр авторизации
Похожие вопросы
04 мая 2024, в 22:32
2000 руб./за проект
04 мая 2024, в 22:10
2001 руб./за проект
04 мая 2024, в 21:12
10000 руб./за проект