Не получается установить модуль pyinstaller,что делать?
1\AppData\Local\Temp\tmp2z4pf46m’:
ERROR: running dist_info
creating B:\Users\47AE
1\AppData\Local\Temp\pip-install-p44ehvbf\pyinstaller\pip-wheel-metadata\PyInstaller.egg-info
writing B:\Users\47AE
1\AppData\Local\Temp\pip-install-p44ehvbf\pyinstaller\pip-wheel-metadata\PyInstaller.egg-info\PKG-INFO
writing dependency_links to B:\Users\47AE
1\AppData\Local\Temp\pip-install-p44ehvbf\pyinstaller\pip-wheel-metadata\PyInstaller.egg-info\dependency_links.txt
writing entry points to B:\Users\47AE
1\AppData\Local\Temp\pip-install-p44ehvbf\pyinstaller\pip-wheel-metadata\PyInstaller.egg-info\entry_points.txt
writing requirements to B:\Users\47AE
1\AppData\Local\Temp\pip-install-p44ehvbf\pyinstaller\pip-wheel-metadata\PyInstaller.egg-info\requires.txt
writing top-level names to B:\Users\47AE
1\AppData\Local\Temp\pip-install-p44ehvbf\pyinstaller\pip-wheel-metadata\PyInstaller.egg-info\top_level.txt
writing manifest file ‘B:\Users\47AE
1\AppData\Local\Temp\pip-install-p44ehvbf\pyinstaller\pip-wheel-metadata\PyInstaller.egg-info\SOURCES.txt’
reading manifest file ‘B:\Users\47AE
1\AppData\Local\Temp\pip-install-p44ehvbf\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 0xe0 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 ‘B:\Users\47AE
1\AppData\Local\Temp\pip-install-p44ehvbf\pyinstaller\pip-wheel-metadata\PyInstaller.egg-info\SOURCES.txt’
creating ‘B:\Users\47AE
1\AppData\Local\Temp\pip-install-p44ehvbf\pyinstaller\pip-wheel-metadata\PyInstaller.dist-info’
error: invalid command ‘bdist_wheel’
—————————————-
ERROR: Command «‘b:\users\анонимный\appdata\local\programs\python\python37-32\python.exe’ ‘b:\users\анонимный\appdata\local\programs\python\python37-32\lib\site-packages\pip\_vendor\pep517\_in_process.py’ prepare_metadata_for_build_wheel ‘B:\Users\47AE
1\AppData\Local\Temp\tmp2z4pf46m'» failed with error code 1 in B:\Users\47AE
Источник
Почему выдает ошибку при скачивании 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
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
Источник
При попытке установить pip install pyinstaller выдаёт ошибку.
1\AppData\Local\Temp\tmpp052ylnv’
cwd: C:\Users\AACE
1\AppData\Local\Temp\pip-install-03lg8um_\pyinstaller
Complete output (36 lines):
running dist_info
creating C:\Users\AACE
1\AppData\Local\Temp\pip-install-03lg8um_\pyinstaller\pip-wheel-metadata\PyInstaller.egg-info
writing C:\Users\AACE
1\AppData\Local\Temp\pip-install-03lg8um_\pyinstaller\pip-wheel-metadata\PyInstaller.egg-info\PKG-INFO
writing dependency_links to C:\Users\AACE
1\AppData\Local\Temp\pip-install-03lg8um_\pyinstaller\pip-wheel-metadata\PyInstaller.egg-info\dependency_links.txt
writing entry points to C:\Users\AACE
1\AppData\Local\Temp\pip-install-03lg8um_\pyinstaller\pip-wheel-metadata\PyInstaller.egg-info\entry_points.txt
writing requirements to C:\Users\AACE
1\AppData\Local\Temp\pip-install-03lg8um_\pyinstaller\pip-wheel-metadata\PyInstaller.egg-info\requires.txt
writing top-level names to C:\Users\AACE
1\AppData\Local\Temp\pip-install-03lg8um_\pyinstaller\pip-wheel-metadata\PyInstaller.egg-info\top_level.txt
writing manifest file ‘C:\Users\AACE
1\AppData\Local\Temp\pip-install-03lg8um_\pyinstaller\pip-wheel-metadata\PyInstaller.egg-info\SOURCES.txt’
reading manifest file ‘C:\Users\AACE
1\AppData\Local\Temp\pip-install-03lg8um_\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 0xe4 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\AACE
Источник
Установка pyinstaller через pip приводит к » не удалось создать процесс»
кто-нибудь знает, почему pyinstaller сразу после установки через pip via anaconda 32bit ?
я установил pyinstaller через pip install pyinstaller через командную строку anaconda в Windows 64 бит, используя 32 бит anaconda (потому что я хочу создать 32-битные исполняемые файлы)
Да, я читал pyinstaller —version не удалось создать процесс и ошибка pip/easy_install: не удалось создать процесс и Как установить pyinstaller с помощью типун
Я не переименовывал файлы, которые я установил anaconda 15 минут назад, pycharm 10 минут назад и pyinstaller 5 минут назад. Я удалил pyinstaller через PUP uninstall и переустановил в папке Anaconda scripts, это ничего не сделало.
любое понимание кто? #windowsfrustrations Путь C:UsersmeAnacondaLibsite-packages>PyInstaller
9 ответов
[Update: поэтому, по-видимому, корневое исправление для этого находится в setuptools. Исправление вошло в setuptools версии 24.3.1, выпущенной 23 июля 2016 года. Обновление до чего-либо более нового, чем это, должно позаботиться об этом.]
оказывается, это ошибка в pip. Как упоминалось в другом ответе, у него есть проблема с пробелами в пути к установке python.
в частности, он оставляет кавычки в сгенерированных сценариях запуска. Сценарии можно найти в \\ Сценарии (например, C:\Program файлы\скрипты на языке Python 3.5\). Для pyinstaller есть 4 pyi — * и a pyinstaller-script.py сценарии.
вы можете обойти это относительно легко, отредактировав первую строку каждого скрипта. Сгенерированные первые строки будут выглядеть примерно так:
просто добавьте кавычки вокруг команды shebang, например:
эта ошибка возникает, когда путь Python (или PyInstaller) содержит пробел (например, при установке Python в .)
Я подозреваю, что где-то в исходном коде PyInstaller есть некоторые недостающие кавычки.
попробуйте установить Python в путь без пробелов и установить PyInstaller (через pip) на этот путь.
по состоянию на июль 2016 года проблема была сообщена как исправлена, ugrading pip, setuptools, а затем удаление и установка pyinstaller должны устранить проблему
Как упоминалось StationaryTraveller, вы можете обойти эту ошибку, вызвав script pyinstaller-script.py
я исправил это [Anaconda 3.4], сделав следующее:
- Enter Команда «Анаконда» Строки
- добраться до папки скриптов anaconda по:cd / path/to/anaconda / Скрипты
- пишем: python pyinstaller-script.py path/YourScript.py
сработало как заклинание.
«C:\Program файлы\Python35-32\python.exe «»C:\Program Files\Python35-32\Scripts\pyinstaller-script.py» —onefile —windowed ex_btn.py
—onefile: создать только exe, — windowed: исключить подсказку CMD, ex_btn.py : файл скрипта python.
Это работает как шарм.
python -m pip install pip работал для меня.
С версией Anaconda Python 3.5.2 и 3.6.0 (обновлена для этой ошибки, но ошибка кажется одинаковой с обеими версиями), я столкнулся с тем же сообщением об ошибке с командой pip install pip или pip install whatever / conda install whatever .
у меня были оба Python 2.7 и 3.5, но pip install —upgrade pip работал каждый день, до нескольких дней назад.
У меня была такая же проблема, даже с обновлением pip и setuptools, и проблема заключалась в том, что pyinstaller-script.py, найденный в C:\Python35\Scripts\ directory, имел неправильный путь для python.исполняемый.
Python в моей системе каким-то образом был установлен в AppData, но его скрипты и модули были установлены в C:\Python35\ папка.
изменение первой строки pyinstaller-script.py к правильному пути python.exe (каталог программ внутри AppData), с кавычками, если есть любое пространство в именах папок между ними, и оно должно работать и больше не показывать «не удалось создать процесс».
с помощью Windows10 и python35 официальный установщик получил Python установлен там как-то.
в моем случае я удаляю и устанавливаю pyinstaller, тогда все работает хорошо.
Это может относиться к любым изменениям в python после установки, поэтому повторная установка-хороший выбор.
Источник