求助python安装cx_freeze时一直报错
WIN7 32bit + python 3.32,想在想安装cx_freeze 4.3.1
使用命令行方式setup.py build时,报下边错误:
d:\program files\cx_freeze\source\bases\Common.c(307) : warning C4133: “函数”:
从“PyCodeObject *”到“PyObject *”的类型不兼容
D:\Program Files\Microsoft Visual Studio 11.0\VC\BIN\link.exe /nologo /INCREMENT
AL:NO "/LIBPATH:D:\Program Files\python\libs" "/LIBPATH:D:\Program Files\python\
PCbuild" user32.lib build\temp.win32-3.3\Release\source/bases/Win32GUI.obj /OUT:
build\lib.win32-3.3\cx_Freeze\bases\Win32GUI.exe /MANIFESTFILE:build\temp.win32-
3.3\Release\source/bases\Win32GUI.exe.manifest /MANIFEST
C:\Program Files\Windows Kits\8.0\bin\x86\mt.exe -nologo -manifest build\temp.wi
n32-3.3\Release\source/bases\Win32GUI.exe.manifest -outputresource:build\lib.win
32-3.3\cx_Freeze\bases\Win32GUI.exe;1
running build_scripts
error: file 'D:\Program Files\cx_Freeze\cxfreeze-postinstall' does not exist
使用安装包安装时,又提示:
error 1721.there is a problem whit the windows installer package. A program required for this install to comlpete could not be run. contact your supprot personnel or package vendor.
[解决办法]
后面一个是windows的错误,看看msdn的方式来解决下 http://support.microsoft.com/kb/891985