#python #cx-freeze
#python #cx-freeze
Вопрос:
Возникли проблемы с установкой разработанной версии cxFreeze. Это то, что я пытаюсь сделать.
pip install --upgrade git https://github.com/anthony-tuininga/cx_Freeze.git@master
И я получаю эти страшные вещи:
C:Program Files (x86)Microsoft Visual Studio2019BuildToolsVCToolsMSVC14.27.29110binHostX86x86cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -Ic:usersадминистраторappdatalocalprogramspythonpython38-32include -Ic:usersадминистраторappdatalocalprogramspythonpython38-32include "-IC:Program Files (x86)Microsoft Visual Studio2019BuildToolsVCToolsMSVC14.27.29110include" "-IC:Program Files (x86)Windows Kits10include10.0.18362.0ucrt" "-IC:Program Files (x86)Windows Kits10include10.0.18362.0shared" "-IC:Program Files (x86)Windows Kits10include10.0.18362.0um" "-IC:Program Files (x86)Windows Kits10include10.0.18362.0winrt" "-IC:Program Files (x86)Windows Kits10include10.0.18362.0cppwinrt" /Tcsource/bases/Console.c /Fobuildtemp.win32-3.8Releasesource/bases/Console.obj
Console.c
creating C:UsersАдминистраторAppDataLocalTemp3pip-req-build-dkpb78tfbuildlib.win32-3.8cx_Freezebases
C:Program Files (x86)Microsoft Visual Studio2019BuildToolsVCToolsMSVC14.27.29110binHostX86x86link.exe /nologo /INCREMENTAL:NO /LTCG /MANIFEST:EMBED,ID=1 /LIBPATH:c:usersадминистраторappdatalocalprogramspythonpython38-32libs /LIBPATH:c:usersадминистраторappdatalocalprogramspythonpython38-32PCbuildwin32 "/LIBPATH:C:Program Files (x86)Microsoft Visual Studio2019BuildToolsVCToolsMSVC14.27.29110libx86" "/LIBPATH:C:Program Files (x86)Windows Kits10lib10.0.18362.0ucrtx86" "/LIBPATH:C:Program Files (x86)Windows Kits10lib10.0.18362.0umx86" imagehlp.lib Shlwapi.lib buildtemp.win32-3.8Releasesource/bases/Console.obj /OUT:buildlib.win32-3.8cx_FreezebasesConsole.exe /MANIFEST
‘®§¤ ЁҐ Є®¤
‘®§¤ ЁҐ Є®¤ § ўҐа襮
C:Program Files (x86)Microsoft Visual Studio2019BuildToolsVCToolsMSVC14.27.29110binHostX86x86cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -Ic:usersадминистраторappdatalocalprogramspythonpython38-32include -Ic:usersадминистраторappdatalocalprogramspythonpython38-32include "-IC:Program Files (x86)Microsoft Visual Studio2019BuildToolsVCToolsMSVC14.27.29110include" "-IC:Program Files (x86)Windows Kits10include10.0.18362.0ucrt" "-IC:Program Files (x86)Windows Kits10include10.0.18362.0shared" "-IC:Program Files (x86)Windows Kits10include10.0.18362.0um" "-IC:Program Files (x86)Windows Kits10include10.0.18362.0winrt" "-IC:Program Files (x86)Windows Kits10include10.0.18362.0cppwinrt" /Tcsource/bases/Win32GUI.c /Fobuildtemp.win32-3.8Releasesource/bases/Win32GUI.obj
Win32GUI.c
C:Program Files (x86)Microsoft Visual Studio2019BuildToolsVCToolsMSVC14.27.29110binHostX86x86link.exe /nologo /INCREMENTAL:NO /LTCG /MANIFEST:EMBED,ID=1 /LIBPATH:c:usersадминистраторappdatalocalprogramspythonpython38-32libs /LIBPATH:c:usersадминистраторappdatalocalprogramspythonpython38-32PCbuildwin32 "/LIBPATH:C:Program Files (x86)Microsoft Visual Studio2019BuildToolsVCToolsMSVC14.27.29110libx86" "/LIBPATH:C:Program Files (x86)Windows Kits10lib10.0.18362.0ucrtx86" "/LIBPATH:C:Program Files (x86)Windows Kits10lib10.0.18362.0umx86" imagehlp.lib Shlwapi.lib user32.lib buildtemp.win32-3.8Releasesource/bases/Win32GUI.obj /OUT:buildlib.win32-3.8cx_FreezebasesWin32GUI.exe /MANIFEST
‘®§¤ ЁҐ Є®¤
‘®§¤ ЁҐ Є®¤ § ўҐа襮
C:Program Files (x86)Microsoft Visual Studio2019BuildToolsVCToolsMSVC14.27.29110binHostX86x86cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -IC:UsersАдминистраторAppDataLocalTemp3cx_Loggingsrc -Ic:usersадминистраторappdatalocalprogramspythonpython38-32include -Ic:usersадминистраторappdatalocalprogramspythonpython38-32include "-IC:Program Files (x86)Microsoft Visual Studio2019BuildToolsVCToolsMSVC14.27.29110include" "-IC:Program Files (x86)Windows Kits10include10.0.18362.0ucrt" "-IC:Program Files (x86)Windows Kits10include10.0.18362.0shared" "-IC:Program Files (x86)Windows Kits10include10.0.18362.0um" "-IC:Program Files (x86)Windows Kits10include10.0.18362.0winrt" "-IC:Program Files (x86)Windows Kits10include10.0.18362.0cppwinrt" /Tcsource/bases/Win32Service.c /Fobuildtemp.win32-3.8Releasesource/bases/Win32Service.obj
Win32Service.c
C:Program Files (x86)Microsoft Visual Studio2019BuildToolsVCToolsMSVC14.27.29110binHostX86x86link.exe /nologo /INCREMENTAL:NO /LTCG /MANIFEST:EMBED,ID=1 /LIBPATH:C:UsersАдминистраторAppDataLocalTemp3cx_Loggingbuildimplib.win32-3.8 /LIBPATH:c:usersадминистраторappdatalocalprogramspythonpython38-32libs /LIBPATH:c:usersадминистраторappdatalocalprogramspythonpython38-32PCbuildwin32 "/LIBPATH:C:Program Files (x86)Microsoft Visual Studio2019BuildToolsVCToolsMSVC14.27.29110libx86" "/LIBPATH:C:Program Files (x86)Windows Kits10lib10.0.18362.0ucrtx86" "/LIBPATH:C:Program Files (x86)Windows Kits10lib10.0.18362.0umx86" imagehlp.lib Shlwapi.lib advapi32.lib cx_Logging.lib buildtemp.win32-3.8Releasesource/bases/Win32Service.obj /OUT:buildlib.win32-3.8cx_FreezebasesWin32Service.exe /MANIFEST
LINK : fatal error LNK1181: Ґ г¤ Ґвбп ®вЄалвм ўе®¤®© д ©« "cx_Logging.lib"
error: command 'C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.27.29110\bin\HostX86\x86\link.exe' failed with exit status 1181
----------------------------------------
Rolling back uninstall of cx-freeze
Moving to c:usersадминистраторappdatalocalprogramspythonpython38-32libsite-packagescx_freeze-6.2.dist-info
from C:UsersАдминистраторAppDataLocalProgramsPythonPython38-32Libsite-packages~x_freeze-6.2.dist-info
Moving to c:usersадминистраторappdatalocalprogramspythonpython38-32libsite-packagescx_freeze
from C:UsersАдминистраторAppDataLocalProgramsPythonPython38-32Libsite-packages~x_freeze
Moving to c:usersадминистраторappdatalocalprogramspythonpython38-32scriptscxfreeze-quickstart.exe
from C:UsersАдминистраторAppDataLocalTemp3pip-uninstall-c94uri98cxfreeze-quickstart.exe
Moving to c:usersадминистраторappdatalocalprogramspythonpython38-32scriptscxfreeze.exe
from C:UsersАдминистраторAppDataLocalTemp3pip-uninstall-c94uri98cxfreeze.exe
ERROR: Command errored out with exit status 1: 'c:usersадминистраторappdatalocalprogramspythonpython38-32python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\Администратор\AppData\Local\Temp\3\pip-req-build-dkpb78tf\setup.py'"'"'; __file__='"'"'C:\Users\Администратор\AppData\Local\Temp\3\pip-req-build-dkpb78tf\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'rn'"'"', '"'"'n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:UsersАдминистраторAppDataLocalTemp3pip-record-32d5ppl7install-record.txt' --single-version-externally-managed --compile --install-headers 'c:usersадминистраторappdatalocalprogramspythonpython38-32Includecx-Freeze' Check the logs for full command output.
Что мне делать? Я использую Python 3.8, поэтому мне нужна новая версия cxFreeze, потому что 6.2 на самом деле не работает для меня…