При установке pyinstaller'а, выводит эту ошибку:
C:\Users\Сергей>pip install pyinstaller
Collecting pyinstaller
Using cached https://files.pythonhosted.org/packages/03/32/0e0de593f129bf1d1e77eed562496d154ef4460fd5cecfd78612ef39a0cc/PyInstaller-3.4.tar.gz
Installing build dependencies ... done
Getting requirements to build wheel ... error
Complete output from command c:\users\сергей\appdata\local\programs\python\python36\python.exe c:\users\сергей\appdata\local\programs\python\python36\lib\site-packages\pip\_vendor\pep517\_in_process.py get_requires_for_build_wheel C:\Users\Сергей\AppData\Local\Temp\tmpai5ts0z5:
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)
Traceback (most recent call last):
File "c:\users\сергей\appdata\local\programs\python\python36\lib\site-packages\pip\_vendor\pep517\_in_process.py", line 207, in <module>
main()
File "c:\users\сергей\appdata\local\programs\python\python36\lib\site-packages\pip\_vendor\pep517\_in_process.py", line 197, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
File "c:\users\сергей\appdata\local\programs\python\python36\lib\site-packages\pip\_vendor\pep517\_in_process.py", line 48, in get_requires_for_build_wheel
backend = _build_backend()
File "c:\users\сергей\appdata\local\programs\python\python36\lib\site-packages\pip\_vendor\pep517\_in_process.py", line 39, in _build_backend
obj = getattr(obj, path_part)
AttributeError: module 'setuptools.build_meta' has no attribute '__legacy__'
----------------------------------------
Command "c:\users\сергей\appdata\local\programs\python\python36\python.exe c:\users\сергей\appdata\local\programs\python\python36\lib\site-packages\pip\_vendor\pep517\_in_process.py get_requires_for_build_wheel C:\Users\Сергей\AppData\Local\Temp\tmpai5ts0z5" failed with error code 1 in C:\Users\Сергей\AppData\Local\Temp\pip-install-50clv3ib\pyinstaller
C:/python
, думаю пройдет. Но ответ с переустановкой pip, конечно, лучше будет :)