我使用的是Windows 7集成版本,无法安装python 3.7.0,并且已经用SP1更新了它。
这是失败的安装程序的日志文件:
[0BAC:07F4][2018-08-30T08:29:19]i001: Burn v3.11.1.2318, Windows v6.1 (Build 7600: Service Pack 0), path: C:\Users\me\AppData\Local\Temp\{220AB437-83C6-48A3-9C01-2AFBBD04E308}\.cr\python-3.7.0-amd64.exe
[0BAC:07F4][2018-08-30T08:29:19]i000: Initializing string variable 'ActionLikeInstalling' to value 'Installing'
[0BAC:07F4][2018-08-30T08:29:19]i000: Initializing string variable 'ActionLikeInstallation' to value 'Setup'
[0BAC:07F4][2018-08-30T08:29:19]i000: Initializing string variable 'ShortVersion' to value '3.7'
[0BAC:07F4][2018-08-30T08:29:19]i000: Initializing numeric variable 'ShortVersionNoDot' to value '37'
[0BAC:07F4][2018-08-30T08:29:19]i000: Initializing string variable 'WinVer' to value '3.7'
[0BAC:07F4][2018-08-30T08:29:19]i000: Initializing numeric variable 'WinVerNoDot' to value '37'
[0BAC:07F4][2018-08-30T08:29:19]i000: Initializing numeric variable 'InstallAllUsers' to value '0'
[0BAC:07F4][2018-08-30T08:29:19]i000: Initializing numeric variable 'InstallLauncherAllUsers' to value '1'
[0BAC:07F4][2018-08-30T08:29:19]i000: Initializing string variable 'TargetDir' to value ''
[0BAC:07F4][2018-08-30T08:29:19]i000: Initializing string variable 'DefaultAllUsersTargetDir' to value '[ProgramFiles64Folder]Python[WinVerNoDot]'
[0BAC:07F4][2018-08-30T08:29:19]i000: Initializing string variable 'TargetPlatform' to value 'x64'
[0BAC:07F4][2018-08-30T08:29:19]i000: Initializing string variable 'DefaultJustForMeTargetDir' to value '[LocalAppDataFolder]Programs\Python\Python[WinVerNoDot]'
[0BAC:07F4][2018-08-30T08:29:19]i000: Initializing string variable 'OptionalFeaturesRegistryKey' to value 'Software\Python\PythonCore\[WinVer]\InstalledFeatures'
[0BAC:07F4][2018-08-30T08:29:19]i000: Initializing string variable 'TargetDirRegistryKey' to value 'Software\Python\PythonCore\[WinVer]\InstallPath'
[0BAC:07F4][2018-08-30T08:29:19]i000: Initializing string variable 'DefaultCustomTargetDir' to value ''
[0BAC:07F4][2018-08-30T08:29:19]i000: Initializing string variable 'InstallAllUsersState' to value 'enabled'
[0BAC:07F4][2018-08-30T08:29:19]i000: Initializing string variable 'InstallLauncherAllUsersState' to value 'enabled'
[0BAC:07F4][2018-08-30T08:29:19]i000: Initializing string variable 'CustomInstallLauncherAllUsersState' to value '[InstallLauncherAllUsersState]'
[0BAC:07F4][2018-08-30T08:29:19]i000: Initializing string variable 'TargetDirState' to value 'enabled'
[0BAC:07F4][2018-08-30T08:29:19]i000: Initializing string variable 'CustomBrowseButtonState' to value 'enabled'
[0BAC:07F4][2018-08-30T08:29:19]i000: Initializing numeric variable 'Include_core' to value '1'
[0BAC:07F4][2018-08-30T08:29:19]i000: Initializing numeric variable 'Include_exe' to value '1'
[0BAC:07F4][2018-08-30T08:29:19]i000: Initializing numeric variable 'Include_dev' to value '1'
[0BAC:07F4][2018-08-30T08:29:19]i000: Initializing numeric variable 'Include_lib' to value '1'
[0BAC:07F4][2018-08-30T08:29:19]i000: Initializing numeric variable 'Include_test' to value '1'
[0BAC:07F4][2018-08-30T08:29:19]i000: Initializing numeric variable 'Include_doc' to value '1'
[0BAC:07F4][2018-08-30T08:29:19]i000: Initializing numeric variable 'Include_tools' to value '1'
[0BAC:07F4][2018-08-30T08:29:19]i000: Initializing numeric variable 'Include_tcltk' to value '1'
[0BAC:07F4][2018-08-30T08:29:19]i000: Initializing numeric variable 'Include_pip' to value '1'
[0BAC:07F4][2018-08-30T08:29:19]i000: Initializing numeric variable 'Include_launcher' to value '1'
[0BAC:07F4][2018-08-30T08:29:19]i000: Initializing string variable 'Include_launcherState' to value 'enabled'
[0BAC:07F4][2018-08-30T08:29:19]i000: Initializing numeric variable 'Include_symbols' to value '0'
[0BAC:07F4][2018-08-30T08:29:19]i000: Initializing numeric variable 'Include_debug' to value '0'
[0BAC:07F4][2018-08-30T08:29:19]i000: Initializing numeric variable 'LauncherOnly' to value '0'
[0BAC:07F4][2018-08-30T08:29:19]i000: Initializing numeric variable 'DetectedLauncher' to value '0'
[0BAC:07F4][2018-08-30T08:29:19]i000: Initializing numeric variable 'DetectedOldLauncher' to value '0'
[0BAC:07F4][2018-08-30T08:29:19]i000: Initializing numeric variable 'AssociateFiles' to value '1'
[0BAC:07F4][2018-08-30T08:29:19]i000: Initializing numeric variable 'Shortcuts' to value '1'
[0BAC:07F4][2018-08-30T08:29:19]i000: Initializing numeric variable 'PrependPath' to value '0'
[0BAC:07F4][2018-08-30T08:29:19]i000: Initializing numeric variable 'CompileAll' to value '0'
[0BAC:07F4][2018-08-30T08:29:19]i000: Initializing numeric variable 'SimpleInstall' to value '0'
[0BAC:07F4][2018-08-30T08:29:19]i000: Initializing string variable 'SimpleInstallDescription' to value ''
[0BAC:07F4][2018-08-30T08:29:19]i009: Command Line: '-burn.clean.room=D:\software\python-3.7.0-amd64.exe -burn.filehandle.attached=172 -burn.filehandle.self=180'
[0BAC:07F4][2018-08-30T08:29:19]i000: Setting string variable 'WixBundleOriginalSource' to value 'D:\software\python-3.7.0-amd64.exe'
[0BAC:07F4][2018-08-30T08:29:19]i000: Setting string variable 'WixBundleOriginalSourceFolder' to value 'D:\software\'
[0BAC:07F4][2018-08-30T08:29:19]i000: Setting string variable 'WixBundleLog' to value 'C:\Users\me\AppData\Local\Temp\Python 3.7.0 (64-bit)_20180830082919.log'
[0BAC:07F4][2018-08-30T08:29:19]i000: Setting string variable 'WixBundleName' to value 'Python 3.7.0 (64-bit)'
[0BAC:07F4][2018-08-30T08:29:19]i000: Setting string variable 'WixBundleManufacturer' to value 'Python Software Foundation'
[0BAC:07F4][2018-08-30T08:29:19]i000: Setting numeric variable 'CRTInstalled' to value 0
[0BAC:0E24][2018-08-30T08:29:19]i000: Did not find D:\software\unattend.xml
[0BAC:0E24][2018-08-30T08:29:19]i000: Setting string variable 'ActionLikeInstalling' to value 'Installing'
[0BAC:0E24][2018-08-30T08:29:19]i000: Setting string variable 'ActionLikeInstallation' to value 'Setup'
[0BAC:0E24][2018-08-30T08:29:19]i000: Setting version variable 'WixBundleFileVersion' to value '3.7.150.0'
[0BAC:0E24][2018-08-30T08:29:19]e000: Detected Windows 7 RTM
[0BAC:0E24][2018-08-30T08:29:19]e000: Service Pack 1 is required to continue installation
答案 0 :(得分:2)
您的Service Pack 1安装有问题,请尝试按照以下说明重新安装;
更多详细信息:https://support.microsoft.com/en-us/help/15090/windows-7-install-service-pack-1-sp1
此后,请尝试再次正常安装Python 3.7。