python pip 报错KeyError: u'\u98de'处理

本文介绍了一个因本机用户名为中文而导致Python包安装失败的问题,并提供了两种解决方案:一是新建英文用户名进行安装;二是修改现有用户名及路径。

报错的原因是本机用户名为中文,将该报错的Unicode字符在word中使用Alt+X命令转换中文,可以发现是你本机用户名的第一个汉字。
鉴于此,解决的办法是:
1、新建一个英文的用户名,每次需要安装所需的python包时注销当前中文用户,登录到该英文用户下安装。或用该用户名,删除原用户名。
2、或者一劳永逸,修改修改用户名与目录名。
修改C:\Users下的用户名,参考:
http://www.jb51.net/os/Windows8/66011.html

![Uploading Paste_Image_382107.png . . .]


Paste_Image.png

Exception:
Traceback (most recent call last):
File "C:\Python27\lib\site-packages\pip\basecommand.py", line 215, in main
status = self.run(options, args)
File "C:\Python27\lib\site-packages\pip\commands\install.py", line 310, in run

wb.build(autobuilding=True)

File "C:\Python27\lib\site-packages\pip\wheel.py", line 836, in build
path_to_url(wheel_file))
File "C:\Python27\lib\site-packages\pip\download.py", line 457, in path_to_url

url = urllib_parse.urljoin('file:', urllib_request.pathname2url(path))

File "C:\Python27\lib\nturl2path.py", line 67, in pathname2url
path = path + '/' + urllib.quote(comp)
File "C:\Python27\lib\urllib.py", line 1303, in quote
return ''.join(map(quoter, s))
KeyError: u'\u98de'

[2970:1C2C][2025-08-01T08:14:35]i001: Burn v3.11.1.2318, Windows v10.0 (Build 26100: Service Pack 0), path: C:\Windows\Temp\{DD15BB9D-DAE0-4758-8991-F5C62903BDF7}\.cr\python-3.10.6-amd64.exe [2970:1C2C][2025-08-01T08:14:35]i000: Initializing string variable 'ActionLikeInstalling' to value 'Installing' [2970:1C2C][2025-08-01T08:14:35]i000: Initializing string variable 'ActionLikeInstallation' to value 'Setup' [2970:1C2C][2025-08-01T08:14:35]i000: Initializing string variable 'ShortVersion' to value '3.10' [2970:1C2C][2025-08-01T08:14:35]i000: Initializing numeric variable 'ShortVersionNoDot' to value '310' [2970:1C2C][2025-08-01T08:14:35]i000: Initializing string variable 'WinVer' to value '3.10' [2970:1C2C][2025-08-01T08:14:35]i000: Initializing numeric variable 'WinVerNoDot' to value '310' [2970:1C2C][2025-08-01T08:14:35]i000: Initializing numeric variable 'InstallAllUsers' to value '0' [2970:1C2C][2025-08-01T08:14:35]i000: Initializing numeric variable 'InstallLauncherAllUsers' to value '1' [2970:1C2C][2025-08-01T08:14:35]i000: Initializing string variable 'TargetDir' to value '' [2970:1C2C][2025-08-01T08:14:35]i000: Initializing string variable 'DefaultAllUsersTargetDir' to value '[ProgramFiles64Folder]Python[WinVerNoDot]' [2970:1C2C][2025-08-01T08:14:35]i000: Initializing string variable 'TargetPlatform' to value 'x64' [2970:1C2C][2025-08-01T08:14:35]i000: Initializing string variable 'DefaultJustForMeTargetDir' to value '[LocalAppDataFolder]Programs\Python\Python[WinVerNoDot]' [2970:1C2C][2025-08-01T08:14:35]i000: Initializing string variable 'OptionalFeaturesRegistryKey' to value 'Software\Python\PythonCore\[WinVer]\InstalledFeatures' [2970:1C2C][2025-08-01T08:14:35]i000: Initializing string variable 'TargetDirRegistryKey' to value 'Software\Python\PythonCore\[WinVer]\InstallPath' [2970:1C2C][2025-08-01T08:14:35]i000: Initializing string variable 'DefaultCustomTargetDir' to value '' [2970:1C2C][2025-08-01T08:14:35]i000: Initializing string variable 'InstallAllUsersState' to value 'enabled' [2970:1C2C][2025-08-01T08:14:35]i000: Initializing string variable 'InstallLauncherAllUsersState' to value 'enabled' [2970:1C2C][2025-08-01T08:14:35]i000: Initializing string variable 'CustomInstallLauncherAllUsersState' to value '[InstallLauncherAllUsersState]' [2970:1C2C][2025-08-01T08:14:35]i000: Initializing string variable 'TargetDirState' to value 'enabled' [2970:1C2C][2025-08-01T08:14:35]i000: Initializing string variable 'CustomBrowseButtonState' to value 'enabled' [2970:1C2C][2025-08-01T08:14:35]i000: Initializing numeric variable 'Include_core' to value '1' [2970:1C2C][2025-08-01T08:14:35]i000: Initializing numeric variable 'Include_exe' to value '1' [2970:1C2C][2025-08-01T08:14:35]i000: Initializing numeric variable 'Include_dev' to value '1' [2970:1C2C][2025-08-01T08:14:35]i000: Initializing numeric variable 'Include_lib' to value '1' [2970:1C2C][2025-08-01T08:14:35]i000: Initializing numeric variable 'Include_test' to value '1' [2970:1C2C][2025-08-01T08:14:35]i000: Initializing numeric variable 'Include_doc' to value '1' [2970:1C2C][2025-08-01T08:14:35]i000: Initializing numeric variable 'Include_tools' to value '1' [2970:1C2C][2025-08-01T08:14:35]i000: Initializing numeric variable 'Include_tcltk' to value '1' [2970:1C2C][2025-08-01T08:14:35]i000: Initializing numeric variable 'Include_pip' to value '1' [2970:1C2C][2025-08-01T08:14:35]i000: Initializing numeric variable 'Include_launcher' to value '-1' [2970:1C2C][2025-08-01T08:14:35]i000: Initializing string variable 'Include_launcherState' to value 'enabled' [2970:1C2C][2025-08-01T08:14:35]i000: Initializing numeric variable 'Include_symbols' to value '0' [2970:1C2C][2025-08-01T08:14:35]i000: Initializing numeric variable 'Include_debug' to value '0' [2970:1C2C][2025-08-01T08:14:35]i000: Initializing numeric variable 'LauncherOnly' to value '0' [2970:1C2C][2025-08-01T08:14:35]i000: Initializing numeric variable 'DetectedLauncher' to value '0' [2970:1C2C][2025-08-01T08:14:35]i000: Initializing numeric variable 'DetectedOldLauncher' to value '0' [2970:1C2C][2025-08-01T08:14:35]i000: Initializing numeric variable 'AssociateFiles' to value '1' [2970:1C2C][2025-08-01T08:14:35]i000: Initializing numeric variable 'Shortcuts' to value '1' [2970:1C2C][2025-08-01T08:14:35]i000: Initializing numeric variable 'PrependPath' to value '0' [2970:1C2C][2025-08-01T08:14:35]i000: Initializing numeric variable 'CompileAll' to value '0' [2970:1C2C][2025-08-01T08:14:35]i000: Initializing numeric variable 'SimpleInstall' to value '0' [2970:1C2C][2025-08-01T08:14:35]i000: Initializing string variable 'SimpleInstallDescription' to value '' [2970:1C2C][2025-08-01T08:14:35]i009: Command Line: '-burn.clean.room=D:\Users\lio.wang\Downloads\python-3.10.6-amd64.exe -burn.filehandle.attached=1068 -burn.filehandle.self=1072' [2970:1C2C][2025-08-01T08:14:35]i000: Setting string variable 'WixBundleOriginalSource' to value 'D:\Users\lio.wang\Downloads\python-3.10.6-amd64.exe' [2970:1C2C][2025-08-01T08:14:35]i000: Setting string variable 'WixBundleOriginalSourceFolder' to value 'D:\Users\lio.wang\Downloads\' [2970:1C2C][2025-08-01T08:14:35]i000: Setting string variable 'WixBundleLog' to value 'C:\Users\lio.wang\AppData\Local\Temp\Python 3.10.6 (64-bit)_20250801081435.log' [2970:1C2C][2025-08-01T08:14:35]i000: Setting string variable 'WixBundleName' to value 'Python 3.10.6 (64-bit)' [2970:1C2C][2025-08-01T08:14:35]i000: Setting string variable 'WixBundleManufacturer' to value 'Python Software Foundation' [2970:1C2C][2025-08-01T08:14:35]i000: Setting numeric variable 'CRTInstalled' to value 1 [2970:3180][2025-08-01T08:14:35]i000: Did not find D:\Users\lio.wang\Downloads\unattend.xml [2970:3180][2025-08-01T08:14:35]i000: Setting string variable 'ActionLikeInstalling' to value 'Installing' [2970:3180][2025-08-01T08:14:35]i000: Setting string variable 'ActionLikeInstallation' to value 'Setup' [2970:3180][2025-08-01T08:14:35]i000: Setting version variable 'WixBundleFileVersion' to value '3.10.6150.0' [2970:3180][2025-08-01T08:14:35]i000: Target OS is Windows 10 or later [2970:1C2C][2025-08-01T08:14:35]i100: Detect begin, 52 packages [2970:1C2C][2025-08-01T08:14:35]i101: Detected package: ucrt_AllUsers, state: Absent, cached: None [2970:1C2C][2025-08-01T08:14:35]i101: Detected package: ucrt_JustForMe, state: Absent, cached: None [2970:1C2C][2025-08-01T08:14:35]i101: Detected package: core_AllUsers, state: Absent, cached: None [2970:1C2C][2025-08-01T08:14:35]i101: Detected package: core_AllUsers_pdb, state: Absent, cached: None [2970:1C2C][2025-08-01T08:14:35]i101: Detected package: core_AllUsers_d, state: Absent, cached: None [2970:1C2C][2025-08-01T08:14:35]i101: Detected package: core_JustForMe, state: Absent, cached: None [2970:1C2C][2025-08-01T08:14:35]i101: Detected package: core_JustForMe_pdb, state: Absent, cached: None [2970:1C2C][2025-08-01T08:14:35]i101: Detected package: core_JustForMe_d, state: Absent, cached: None [2970:1C2C][2025-08-01T08:14:35]i101: Detected package: exe_AllUsers, state: Absent, cached: None [2970:1C2C][2025-08-01T08:14:35]i104: Detected package: exe_AllUsers, feature: DefaultFeature, state: Absent [2970:1C2C][2025-08-01T08:14:35]i104: Detected package: exe_AllUsers, feature: Shortcuts, state: Absent [2970:1C2C][2025-08-01T08:14:35]i101: Detected package: exe_AllUsers_pdb, state: Absent, cached: None [2970:1C2C][2025-08-01T08:14:35]i101: Detected package: exe_AllUsers_d, state: Absent, cached: None [2970:1C2C][2025-08-01T08:14:35]i101: Detected package: exe_JustForMe, state: Absent, cached: None [2970:1C2C][2025-08-01T08:14:35]i104: Detected package: exe_JustForMe, feature: DefaultFeature, state: Absent [2970:1C2C][2025-08-01T08:14:35]i104: Detected package: exe_JustForMe, feature: Shortcuts, state: Absent [2970:1C2C][2025-08-01T08:14:35]i101: Detected package: exe_JustForMe_pdb, state: Absent, cached: None [2970:1C2C][2025-08-01T08:14:35]i101: Detected package: exe_JustForMe_d, state: Absent, cached: None [2970:1C2C][2025-08-01T08:14:35]i101: Detected package: dev_AllUsers, state: Absent, cached: None [2970:1C2C][2025-08-01T08:14:35]i101: Detected package: dev_AllUsers_d, state: Absent, cached: None [2970:1C2C][2025-08-01T08:14:35]i101: Detected package: dev_JustForMe, state: Absent, cached: None [2970:1C2C][2025-08-01T08:14:35]i101: Detected package: dev_JustForMe_d, state: Absent, cached: None [2970:1C2C][2025-08-01T08:14:35]i101: Detected package: lib_AllUsers, state: Absent, cached: None [2970:1C2C][2025-08-01T08:14:35]i101: Detected package: lib_AllUsers_pdb, state: Absent, cached: None [2970:1C2C][2025-08-01T08:14:35]i101: Detected package: lib_AllUsers_d, state: Absent, cached: None [2970:1C2C][2025-08-01T08:14:35]i101: Detected package: lib_JustForMe, state: Absent, cached: None [2970:1C2C][2025-08-01T08:14:35]i101: Detected package: lib_JustForMe_pdb, state: Absent, cached: None [2970:1C2C][2025-08-01T08:14:35]i101: Detected package: lib_JustForMe_d, state: Absent, cached: None [2970:1C2C][2025-08-01T08:14:35]i101: Detected package: test_AllUsers, state: Absent, cached: None [2970:1C2C][2025-08-01T08:14:35]i101: Detected package: test_AllUsers_pdb, state: Absent, cached: None [2970:1C2C][2025-08-01T08:14:35]i101: Detected package: test_AllUsers_d, state: Absent, cached: None [2970:1C2C][2025-08-01T08:14:35]i101: Detected package: test_JustForMe, state: Absent, cached: None [2970:1C2C][2025-08-01T08:14:35]i101: Detected package: test_JustForMe_pdb, state: Absent, cached: None [2970:1C2C][2025-08-01T08:14:35]i101: Detected package: test_JustForMe_d, state: Absent, cached: None [2970:1C2C][2025-08-01T08:14:35]i101: Detected package: doc_AllUsers, state: Absent, cached: None [2970:1C2C][2025-08-01T08:14:35]i104: Detected package: doc_AllUsers, feature: DefaultFeature, state: Absent [2970:1C2C][2025-08-01T08:14:35]i104: Detected package: doc_AllUsers, feature: Shortcuts, state: Absent [2970:1C2C][2025-08-01T08:14:35]i101: Detected package: doc_JustForMe, state: Absent, cached: Complete [2970:1C2C][2025-08-01T08:14:35]i104: Detected package: doc_JustForMe, feature: DefaultFeature, state: Absent [2970:1C2C][2025-08-01T08:14:35]i104: Detected package: doc_JustForMe, feature: Shortcuts, state: Absent [2970:1C2C][2025-08-01T08:14:35]i101: Detected package: tools_AllUsers, state: Absent, cached: None [2970:1C2C][2025-08-01T08:14:35]i101: Detected package: tools_JustForMe, state: Absent, cached: Complete [2970:1C2C][2025-08-01T08:14:35]i101: Detected package: tcltk_AllUsers, state: Absent, cached: None [2970:1C2C][2025-08-01T08:14:35]i104: Detected package: tcltk_AllUsers, feature: DefaultFeature, state: Absent [2970:1C2C][2025-08-01T08:14:35]i104: Detected package: tcltk_AllUsers, feature: AssociateFiles, state: Absent [2970:1C2C][2025-08-01T08:14:35]i104: Detected package: tcltk_AllUsers, feature: Shortcuts, state: Absent [2970:1C2C][2025-08-01T08:14:35]i101: Detected package: tcltk_AllUsers_pdb, state: Absent, cached: None [2970:1C2C][2025-08-01T08:14:35]i104: Detected package: tcltk_AllUsers_pdb, feature: Symbols, state: Absent [2970:1C2C][2025-08-01T08:14:35]i101: Detected package: tcltk_AllUsers_d, state: Absent, cached: None [2970:1C2C][2025-08-01T08:14:35]i104: Detected package: tcltk_AllUsers_d, feature: DebugBinaries, state: Absent [2970:1C2C][2025-08-01T08:14:35]i101: Detected package: tcltk_JustForMe, state: Absent, cached: Complete [2970:1C2C][2025-08-01T08:14:35]i104: Detected package: tcltk_JustForMe, feature: DefaultFeature, state: Absent [2970:1C2C][2025-08-01T08:14:35]i104: Detected package: tcltk_JustForMe, feature: AssociateFiles, state: Absent [2970:1C2C][2025-08-01T08:14:35]i104: Detected package: tcltk_JustForMe, feature: Shortcuts, state: Absent [2970:1C2C][2025-08-01T08:14:35]i101: Detected package: tcltk_JustForMe_pdb, state: Absent, cached: None [2970:1C2C][2025-08-01T08:14:35]i104: Detected package: tcltk_JustForMe_pdb, feature: Symbols, state: Absent [2970:1C2C][2025-08-01T08:14:35]i101: Detected package: tcltk_JustForMe_d, state: Absent, cached: None [2970:1C2C][2025-08-01T08:14:35]i104: Detected package: tcltk_JustForMe_d, feature: DebugBinaries, state: Absent [2970:1C2C][2025-08-01T08:14:35]i101: Detected package: launcher_AllUsers, state: Absent, cached: None [2970:1C2C][2025-08-01T08:14:35]i104: Detected package: launcher_AllUsers, feature: DefaultFeature, state: Absent [2970:1C2C][2025-08-01T08:14:35]i104: Detected package: launcher_AllUsers, feature: AssociateFiles, state: Absent [2970:1C2C][2025-08-01T08:14:35]i101: Detected package: launcher_JustForMe, state: Absent, cached: None [2970:1C2C][2025-08-01T08:14:35]i104: Detected package: launcher_JustForMe, feature: DefaultFeature, state: Absent [2970:1C2C][2025-08-01T08:14:35]i104: Detected package: launcher_JustForMe, feature: AssociateFiles, state: Absent [2970:1C2C][2025-08-01T08:14:35]i101: Detected package: pip_AllUsers, state: Absent, cached: None [2970:1C2C][2025-08-01T08:14:35]i101: Detected package: pip_JustForMe, state: Absent, cached: None [2970:1C2C][2025-08-01T08:14:35]i101: Detected package: path_AllUsers, state: Absent, cached: None [2970:1C2C][2025-08-01T08:14:35]i101: Detected package: path_JustForMe, state: Absent, cached: None [2970:1C2C][2025-08-01T08:14:35]i101: Detected package: compileall_AllUsers, state: Absent, cached: None [2970:1C2C][2025-08-01T08:14:35]i101: Detected package: compileallO_AllUsers, state: Absent, cached: None [2970:1C2C][2025-08-01T08:14:35]i101: Detected package: compileallOO_AllUsers, state: Absent, cached: None [2970:1C2C][2025-08-01T08:14:35]i101: Detected package: compileall_JustForMe, state: Absent, cached: None [2970:1C2C][2025-08-01T08:14:35]i101: Detected package: compileallO_JustForMe, state: Absent, cached: None [2970:1C2C][2025-08-01T08:14:35]i101: Detected package: compileallOO_JustForMe, state: Absent, cached: None [2970:1C2C][2025-08-01T08:14:35]i000: Setting numeric variable 'Include_launcher' to value 1 [2970:1C2C][2025-08-01T08:14:35]i000: Setting string variable 'TargetDir' to value 'C:\Users\lio.wang\AppData\Local\Programs\Python\Python310' [2970:1C2C][2025-08-01T08:14:35]i199: Detect complete, result: 0x0 [2970:3180][2025-08-01T08:14:35]i052: Condition 'not WixBundleElevated and (InstallAllUsers or (Include_launcher and InstallLauncherAllUsers and not DetectedLauncher))' evaluates to false. [2970:3180][2025-08-01T08:14:38]i000: Setting numeric variable 'InstallLauncherAllUsers' to value 1 [2970:3180][2025-08-01T08:14:38]i000: Setting numeric variable 'PrependPath' to value 1 [2970:3180][2025-08-01T08:14:39]i000: Setting numeric variable 'Include_doc' to value 1 [2970:3180][2025-08-01T08:14:39]i000: Setting numeric variable 'Include_pip' to value 1 [2970:3180][2025-08-01T08:14:39]i000: Setting numeric variable 'Include_tcltk' to value 1 [2970:3180][2025-08-01T08:14:39]i000: Setting numeric variable 'Include_test' to value 1 [2970:3180][2025-08-01T08:14:39]i000: Setting numeric variable 'Include_launcher' to value 1 [2970:3180][2025-08-01T08:14:39]i000: Setting numeric variable 'CustomInstallLauncherAllUsers' to value 1 [2970:3180][2025-08-01T08:14:39]i052: Condition 'not WixBundleElevated and (InstallAllUsers or (Include_launcher and InstallLauncherAllUsers and not DetectedLauncher))' evaluates to false. [2970:3180][2025-08-01T08:14:41]i000: Setting numeric variable 'InstallAllUsers' to value 1 [2970:3180][2025-08-01T08:14:41]i052: Condition 'not WixBundleElevated and (InstallAllUsers or (Include_launcher and InstallLauncherAllUsers and not DetectedLauncher))' evaluates to false. [2970:3180][2025-08-01T08:14:41]i000: Setting numeric variable 'CompileAll' to value 1 [2970:3180][2025-08-01T08:14:45]i000: Setting numeric variable 'InstallAllUsers' to value 1 [2970:3180][2025-08-01T08:14:45]i000: Setting numeric variable 'AssociateFiles' to value 1 [2970:3180][2025-08-01T08:14:45]i000: Setting numeric variable 'Shortcuts' to value 1 [2970:3180][2025-08-01T08:14:45]i000: Setting numeric variable 'PrependPath' to value 1 [2970:3180][2025-08-01T08:14:45]i000: Setting numeric variable 'CompileAll' to value 1 [2970:3180][2025-08-01T08:14:45]i000: Setting numeric variable 'Include_symbols' to value 0 [2970:3180][2025-08-01T08:14:45]i000: Setting numeric variable 'Include_debug' to value 0 [2970:3180][2025-08-01T08:14:45]i000: Setting string variable 'TargetDir' to value 'C:\Program Files\Python310' [2970:3180][2025-08-01T08:14:45]i000: Setting string variable 'ActionLikeInstalling' to value 'Installing' [2970:3180][2025-08-01T08:14:45]i000: Setting string variable 'ActionLikeInstallation' to value 'Setup' [2970:1C2C][2025-08-01T08:14:45]i200: Plan begin, 52 packages, action: Install [2970:1C2C][2025-08-01T08:14:45]i052: Condition 'InstallAllUsers and not CRTInstalled and (Include_core or Include_exe or Include_pip) and not LauncherOnly' evaluates to false. [2970:1C2C][2025-08-01T08:14:45]i052: Condition 'InstallAllUsers and not CRTInstalled and (Include_core or Include_exe or Include_pip) and not LauncherOnly' evaluates to false. [2970:1C2C][2025-08-01T08:14:45]w322: Skipping cross-scope dependency registration on package: ucrt_AllUsers, bundle scope: PerUser, package scope: PerMachine [2970:1C2C][2025-08-01T08:14:45]i052: Condition 'not InstallAllUsers and not CRTInstalled and (Include_core or Include_exe or Include_pip) and not LauncherOnly' evaluates to false. [2970:1C2C][2025-08-01T08:14:45]i052: Condition 'not InstallAllUsers and not CRTInstalled and (Include_core or Include_exe or Include_pip) and not LauncherOnly' evaluates to false. [2970:1C2C][2025-08-01T08:14:45]i052: Condition 'InstallAllUsers and (Include_core or Include_exe or Include_launcher or Include_pip) and not LauncherOnly' evaluates to true. [2970:1C2C][2025-08-01T08:14:45]i052: Condition 'InstallAllUsers and (Include_core or Include_exe or Include_launcher or Include_pip) and not LauncherOnly' evaluates to true. [2970:1C2C][2025-08-01T08:14:45]w322: Skipping cross-scope dependency registration on package: core_AllUsers, bundle scope: PerUser, package scope: PerMachine [2970:1C2C][2025-08-01T08:14:45]i000: Setting string variable 'WixBundleRollbackLog_core_AllUsers' to value 'C:\Users\lio.wang\AppData\Local\Temp\Python 3.10.6 (64-bit)_20250801081435_000_core_AllUsers_rollback.log' [2970:1C2C][2025-08-01T08:14:45]i000: Setting string variable 'WixBundleLog_core_AllUsers' to value 'C:\Users\lio.wang\AppData\Local\Temp\Python 3.10.6 (64-bit)_20250801081435_000_core_AllUsers.log' [2970:1C2C][2025-08-01T08:14:45]i052: Condition 'InstallAllUsers and (Include_core or Include_exe or Include_launcher or Include_pip) and Include_symbols and not LauncherOnly' evaluates to false. [2970:1C2C][2025-08-01T08:14:45]i052: Condition 'InstallAllUsers and (Include_core or Include_exe or Include_launcher or Include_pip) and Include_symbols and not LauncherOnly' evaluates to false. [2970:1C2C][2025-08-01T08:14:45]w322: Skipping cross-scope dependency registration on package: core_AllUsers_pdb, bundle scope: PerUser, package scope: PerMachine [2970:1C2C][2025-08-01T08:14:45]i052: Condition 'InstallAllUsers and (Include_core or Include_exe or Include_launcher or Include_pip) and Include_debug and not LauncherOnly' evaluates to false. [2970:1C2C][2025-08-01T08:14:45]i052: Condition 'InstallAllUsers and (Include_core or Include_exe or Include_launcher or Include_pip) and Include_debug and not LauncherOnly' evaluates to false. [2970:1C2C][2025-08-01T08:14:45]w322: Skipping cross-scope dependency registration on package: core_AllUsers_d, bundle scope: PerUser, package scope: PerMachine [2970:1C2C][2025-08-01T08:14:45]i052: Condition 'not InstallAllUsers and (Include_core or Include_exe or Include_launcher or Include_pip) and not LauncherOnly' evaluates to false. [2970:1C2C][2025-08-01T08:14:45]i052: Condition 'not InstallAllUsers and (Include_core or Include_exe or Include_launcher or Include_pip) and not LauncherOnly' evaluates to false. [2970:1C2C][2025-08-01T08:14:45]i052: Condition 'not InstallAllUsers and (Include_core or Include_exe or Include_launcher or Include_pip) and Include_symbols and not LauncherOnly' evaluates to false. [2970:1C2C][2025-08-01T08:14:45]i052: Condition 'not InstallAllUsers and (Include_core or Include_exe or Include_launcher or Include_pip) and Include_symbols and not LauncherOnly' evaluates to false. [2970:1C2C][2025-08-01T08:14:45]i052: Condition 'not InstallAllUsers and (Include_core or Include_exe or Include_launcher or Include_pip) and Include_debug and not LauncherOnly' evaluates to false. [2970:1C2C][2025-08-01T08:14:45]i052: Condition 'not InstallAllUsers and (Include_core or Include_exe or Include_launcher or Include_pip) and Include_debug and not LauncherOnly' evaluates to false. [2970:1C2C][2025-08-01T08:14:45]i052: Condition 'InstallAllUsers and (Include_exe or Include_launcher or Include_pip) and not LauncherOnly' evaluates to true. [2970:1C2C][2025-08-01T08:14:45]i052: Condition 'InstallAllUsers and (Include_exe or Include_launcher or Include_pip) and not LauncherOnly' evaluates to true. [2970:1C2C][2025-08-01T08:14:45]i204: Plan 2 msi features for package: exe_AllUsers [2970:1C2C][2025-08-01T08:14:45]i203: Planned feature: DefaultFeature, state: Absent, default requested: Unknown, ba requested: Local, execute action: AddLocal, rollback action: Remove [2970:1C2C][2025-08-01T08:14:45]i203: Planned feature: Shortcuts, state: Absent, default requested: Unknown, ba requested: Local, execute action: AddLocal, rollback action: Remove [2970:1C2C][2025-08-01T08:14:45]w322: Skipping cross-scope dependency registration on package: exe_AllUsers, bundle scope: PerUser, package scope: PerMachine [2970:1C2C][2025-08-01T08:14:45]i000: Setting string variable 'WixBundleRollbackLog_exe_AllUsers' to value 'C:\Users\lio.wang\AppData\Local\Temp\Python 3.10.6 (64-bit)_20250801081435_001_exe_AllUsers_rollback.log' [2970:1C2C][2025-08-01T08:14:45]i000: Setting string variable 'WixBundleLog_exe_AllUsers' to value 'C:\Users\lio.wang\AppData\Local\Temp\Python 3.10.6 (64-bit)_20250801081435_001_exe_AllUsers.log' [2970:1C2C][2025-08-01T08:14:45]i052: Condition 'InstallAllUsers and (Include_exe or Include_launcher or Include_pip) and Include_symbols and not LauncherOnly' evaluates to false. [2970:1C2C][2025-08-01T08:14:45]i052: Condition 'InstallAllUsers and (Include_exe or Include_launcher or Include_pip) and Include_symbols and not LauncherOnly' evaluates to false. [2970:1C2C][2025-08-01T08:14:45]w322: Skipping cross-scope dependency registration on package: exe_AllUsers_pdb, bundle scope: PerUser, package scope: PerMachine [2970:1C2C][2025-08-01T08:14:45]i052: Condition 'InstallAllUsers and (Include_exe or Include_launcher or Include_pip) and Include_debug and not LauncherOnly' evaluates to false. [2970:1C2C][2025-08-01T08:14:45]i052: Condition 'InstallAllUsers and (Include_exe or Include_launcher or Include_pip) and Include_debug and not LauncherOnly' evaluates to false. [2970:1C2C][2025-08-01T08:14:45]w322: Skipping cross-scope dependency registration on package: exe_AllUsers_d, bundle scope: PerUser, package scope: PerMachine [2970:1C2C][2025-08-01T08:14:45]i052: Condition 'not InstallAllUsers and (Include_exe or Include_launcher or Include_pip) and not LauncherOnly' evaluates to false. [2970:1C2C][2025-08-01T08:14:45]i052: Condition 'not InstallAllUsers and (Include_exe or Include_launcher or Include_pip) and not LauncherOnly' evaluates to false. [2970:1C2C][2025-08-01T08:14:45]i204: Plan 2 msi features for package: exe_JustForMe [2970:1C2C][2025-08-01T08:14:45]i203: Planned feature: DefaultFeature, state: Absent, default requested: Unknown, ba requested: Local, execute action: AddLocal, rollback action: Remove [2970:1C2C][2025-08-01T08:14:45]i203: Planned feature: Shortcuts, state: Absent, default requested: Unknown, ba requested: Local, execute action: AddLocal, rollback action: Remove [2970:1C2C][2025-08-01T08:14:45]i052: Condition 'not InstallAllUsers and (Include_exe or Include_launcher or Include_pip) and Include_symbols and not LauncherOnly' evaluates to false. [2970:1C2C][2025-08-01T08:14:45]i052: Condition 'not InstallAllUsers and (Include_exe or Include_launcher or Include_pip) and Include_symbols and not LauncherOnly' evaluates to false. [2970:1C2C][2025-08-01T08:14:45]i052: Condition 'not InstallAllUsers and (Include_exe or Include_launcher or Include_pip) and Include_debug and not LauncherOnly' evaluates to false. [2970:1C2C][2025-08-01T08:14:45]i052: Condition 'not InstallAllUsers and (Include_exe or Include_launcher or Include_pip) and Include_debug and not LauncherOnly' evaluates to false. [2970:1C2C][2025-08-01T08:14:45]i052: Condition 'InstallAllUsers and Include_dev and not LauncherOnly' evaluates to true. [2970:1C2C][2025-08-01T08:14:45]i052: Condition 'InstallAllUsers and Include_dev and not LauncherOnly' evaluates to true. [2970:1C2C][2025-08-01T08:14:45]w322: Skipping cross-scope dependency registration on package: dev_AllUsers, bundle scope: PerUser, package scope: PerMachine [2970:1C2C][2025-08-01T08:14:45]i000: Setting string variable 'WixBundleRollbackLog_dev_AllUsers' to value 'C:\Users\lio.wang\AppData\Local\Temp\Python 3.10.6 (64-bit)_20250801081435_002_dev_AllUsers_rollback.log' [2970:1C2C][2025-08-01T08:14:45]i000: Setting string variable 'WixBundleLog_dev_AllUsers' to value 'C:\Users\lio.wang\AppData\Local\Temp\Python 3.10.6 (64-bit)_20250801081435_002_dev_AllUsers.log' [2970:1C2C][2025-08-01T08:14:45]i052: Condition 'InstallAllUsers and Include_dev and Include_debug and not LauncherOnly' evaluates to false. [2970:1C2C][2025-08-01T08:14:45]i052: Condition 'InstallAllUsers and Include_dev and Include_debug and not LauncherOnly' evaluates to false. [2970:1C2C][2025-08-01T08:14:45]w322: Skipping cross-scope dependency registration on package: dev_AllUsers_d, bundle scope: PerUser, package scope: PerMachine [2970:1C2C][2025-08-01T08:14:45]i052: Condition 'not InstallAllUsers and Include_dev and not LauncherOnly' evaluates to false. [2970:1C2C][2025-08-01T08:14:45]i052: Condition 'not InstallAllUsers and Include_dev and not LauncherOnly' evaluates to false. [2970:1C2C][2025-08-01T08:14:45]i052: Condition 'not InstallAllUsers and Include_dev and Include_debug and not LauncherOnly' evaluates to false. [2970:1C2C][2025-08-01T08:14:45]i052: Condition 'not InstallAllUsers and Include_dev and Include_debug and not LauncherOnly' evaluates to false. [2970:1C2C][2025-08-01T08:14:45]i052: Condition 'InstallAllUsers and Include_lib and not LauncherOnly' evaluates to true. [2970:1C2C][2025-08-01T08:14:45]i052: Condition 'InstallAllUsers and Include_lib and not LauncherOnly' evaluates to true. [2970:1C2C][2025-08-01T08:14:45]w322: Skipping cross-scope dependency registration on package: lib_AllUsers, bundle scope: PerUser, package scope: PerMachine [2970:1C2C][2025-08-01T08:14:45]i000: Setting string variable 'WixBundleRollbackLog_lib_AllUsers' to value 'C:\Users\lio.wang\AppData\Local\Temp\Python 3.10.6 (64-bit)_20250801081435_003_lib_AllUsers_rollback.log' [2970:1C2C][2025-08-01T08:14:45]i000: Setting string variable 'WixBundleLog_lib_AllUsers' to value 'C:\Users\lio.wang\AppData\Local\Temp\Python 3.10.6 (64-bit)_20250801081435_003_lib_AllUsers.log' [2970:1C2C][2025-08-01T08:14:45]i052: Condition 'InstallAllUsers and Include_lib and Include_symbols and not LauncherOnly' evaluates to false. [2970:1C2C][2025-08-01T08:14:45]i052: Condition 'InstallAllUsers and Include_lib and Include_symbols and not LauncherOnly' evaluates to false. [2970:1C2C][2025-08-01T08:14:45]w322: Skipping cross-scope dependency registration on package: lib_AllUsers_pdb, bundle scope: PerUser, package scope: PerMachine [2970:1C2C][2025-08-01T08:14:45]i052: Condition 'InstallAllUsers and Include_lib and Include_debug and not LauncherOnly' evaluates to false. [2970:1C2C][2025-08-01T08:14:45]i052: Condition 'InstallAllUsers and Include_lib and Include_debug and not LauncherOnly' evaluates to false. [2970:1C2C][2025-08-01T08:14:45]w322: Skipping cross-scope dependency registration on package: lib_AllUsers_d, bundle scope: PerUser, package scope: PerMachine [2970:1C2C][2025-08-01T08:14:45]i052: Condition 'not InstallAllUsers and Include_lib and not LauncherOnly' evaluates to false. [2970:1C2C][2025-08-01T08:14:45]i052: Condition 'not InstallAllUsers and Include_lib and not LauncherOnly' evaluates to false. [2970:1C2C][2025-08-01T08:14:45]i052: Condition 'not InstallAllUsers and Include_lib and Include_symbols and not LauncherOnly' evaluates to false. [2970:1C2C][2025-08-01T08:14:45]i052: Condition 'not InstallAllUsers and Include_lib and Include_symbols and not LauncherOnly' evaluates to false. [2970:1C2C][2025-08-01T08:14:45]i052: Condition 'not InstallAllUsers and Include_lib and Include_debug and not LauncherOnly' evaluates to false. [2970:1C2C][2025-08-01T08:14:45]i052: Condition 'not InstallAllUsers and Include_lib and Include_debug and not LauncherOnly' evaluates to false. [2970:1C2C][2025-08-01T08:14:45]i052: Condition 'InstallAllUsers and Include_test and not LauncherOnly' evaluates to true. [2970:1C2C][2025-08-01T08:14:45]i052: Condition 'InstallAllUsers and Include_test and not LauncherOnly' evaluates to true. [2970:1C2C][2025-08-01T08:14:45]w322: Skipping cross-scope dependency registration on package: test_AllUsers, bundle scope: PerUser, package scope: PerMachine [2970:1C2C][2025-08-01T08:14:45]i000: Setting string variable 'WixBundleRollbackLog_test_AllUsers' to value 'C:\Users\lio.wang\AppData\Local\Temp\Python 3.10.6 (64-bit)_20250801081435_004_test_AllUsers_rollback.log' [2970:1C2C][2025-08-01T08:14:45]i000: Setting string variable 'WixBundleLog_test_AllUsers' to value 'C:\Users\lio.wang\AppData\Local\Temp\Python 3.10.6 (64-bit)_20250801081435_004_test_AllUsers.log' [2970:1C2C][2025-08-01T08:14:45]i052: Condition 'InstallAllUsers and Include_test and Include_symbols and not LauncherOnly' evaluates to false. [2970:1C2C][2025-08-01T08:14:45]i052: Condition 'InstallAllUsers and Include_test and Include_symbols and not LauncherOnly' evaluates to false. [2970:1C2C][2025-08-01T08:14:45]w322: Skipping cross-scope dependency registration on package: test_AllUsers_pdb, bundle scope: PerUser, package scope: PerMachine [2970:1C2C][2025-08-01T08:14:45]i052: Condition 'InstallAllUsers and Include_test and Include_debug and not LauncherOnly' evaluates to false. [2970:1C2C][2025-08-01T08:14:45]i052: Condition 'InstallAllUsers and Include_test and Include_debug and not LauncherOnly' evaluates to false. [2970:1C2C][2025-08-01T08:14:45]w322: Skipping cross-scope dependency registration on package: test_AllUsers_d, bundle scope: PerUser, package scope: PerMachine [2970:1C2C][2025-08-01T08:14:45]i052: Condition 'not InstallAllUsers and Include_test and not LauncherOnly' evaluates to false. [2970:1C2C][2025-08-01T08:14:45]i052: Condition 'not InstallAllUsers and Include_test and not LauncherOnly' evaluates to false. [2970:1C2C][2025-08-01T08:14:45]i052: Condition 'not InstallAllUsers and Include_test and Include_symbols and not LauncherOnly' evaluates to false. [2970:1C2C][2025-08-01T08:14:45]i052: Condition 'not InstallAllUsers and Include_test and Include_symbols and not LauncherOnly' evaluates to false. [2970:1C2C][2025-08-01T08:14:45]i052: Condition 'not InstallAllUsers and Include_test and Include_debug and not LauncherOnly' evaluates to false. [2970:1C2C][2025-08-01T08:14:45]i052: Condition 'not InstallAllUsers and Include_test and Include_debug and not LauncherOnly' evaluates to false. [2970:1C2C][2025-08-01T08:14:45]i052: Condition 'InstallAllUsers and Include_doc and not LauncherOnly' evaluates to true. [2970:1C2C][2025-08-01T08:14:45]i052: Condition 'InstallAllUsers and Include_doc and not LauncherOnly' evaluates to true. [2970:1C2C][2025-08-01T08:14:45]i204: Plan 2 msi features for package: doc_AllUsers [2970:1C2C][2025-08-01T08:14:45]i203: Planned feature: DefaultFeature, state: Absent, default requested: Unknown, ba requested: Local, execute action: AddLocal, rollback action: Remove [2970:1C2C][2025-08-01T08:14:45]i203: Planned feature: Shortcuts, state: Absent, default requested: Unknown, ba requested: Local, execute action: AddLocal, rollback action: Remove [2970:1C2C][2025-08-01T08:14:45]w322: Skipping cross-scope dependency registration on package: doc_AllUsers, bundle scope: PerUser, package scope: PerMachine [2970:1C2C][2025-08-01T08:14:45]i000: Setting string variable 'WixBundleRollbackLog_doc_AllUsers' to value 'C:\Users\lio.wang\AppData\Local\Temp\Python 3.10.6 (64-bit)_20250801081435_005_doc_AllUsers_rollback.log' [2970:1C2C][2025-08-01T08:14:45]i000: Setting string variable 'WixBundleLog_doc_AllUsers' to value 'C:\Users\lio.wang\AppData\Local\Temp\Python 3.10.6 (64-bit)_20250801081435_005_doc_AllUsers.log' [2970:1C2C][2025-08-01T08:14:45]i052: Condition 'not InstallAllUsers and Include_doc and not LauncherOnly' evaluates to false. [2970:1C2C][2025-08-01T08:14:45]i052: Condition 'not InstallAllUsers and Include_doc and not LauncherOnly' evaluates to false. [2970:1C2C][2025-08-01T08:14:45]i204: Plan 2 msi features for package: doc_JustForMe [2970:1C2C][2025-08-01T08:14:45]i203: Planned feature: DefaultFeature, state: Absent, default requested: Unknown, ba requested: Local, execute action: AddLocal, rollback action: Remove [2970:1C2C][2025-08-01T08:14:45]i203: Planned feature: Shortcuts, state: Absent, default requested: Unknown, ba requested: Local, execute action: AddLocal, rollback action: Remove [2970:1C2C][2025-08-01T08:14:45]i052: Condition 'InstallAllUsers and Include_tools and not LauncherOnly' evaluates to true. [2970:1C2C][2025-08-01T08:14:45]i052: Condition 'InstallAllUsers and Include_tools and not LauncherOnly' evaluates to true. [2970:1C2C][2025-08-01T08:14:45]w322: Skipping cross-scope dependency registration on package: tools_AllUsers, bundle scope: PerUser, package scope: PerMachine [2970:1C2C][2025-08-01T08:14:45]i000: Setting string variable 'WixBundleRollbackLog_tools_AllUsers' to value 'C:\Users\lio.wang\AppData\Local\Temp\Python 3.10.6 (64-bit)_20250801081435_006_tools_AllUsers_rollback.log' [2970:1C2C][2025-08-01T08:14:45]i000: Setting string variable 'WixBundleLog_tools_AllUsers' to value 'C:\Users\lio.wang\AppData\Local\Temp\Python 3.10.6 (64-bit)_20250801081435_006_tools_AllUsers.log' [2970:1C2C][2025-08-01T08:14:45]i052: Condition 'not InstallAllUsers and Include_tools and not LauncherOnly' evaluates to false. [2970:1C2C][2025-08-01T08:14:45]i052: Condition 'not InstallAllUsers and Include_tools and not LauncherOnly' evaluates to false. [2970:1C2C][2025-08-01T08:14:45]i052: Condition 'InstallAllUsers and Include_tcltk and not LauncherOnly' evaluates to true. [2970:1C2C][2025-08-01T08:14:45]i052: Condition 'InstallAllUsers and Include_tcltk and not LauncherOnly' evaluates to true. [2970:1C2C][2025-08-01T08:14:45]i204: Plan 3 msi features for package: tcltk_AllUsers [2970:1C2C][2025-08-01T08:14:45]i203: Planned feature: DefaultFeature, state: Absent, default requested: Unknown, ba requested: Local, execute action: AddLocal, rollback action: Remove [2970:1C2C][2025-08-01T08:14:45]i203: Planned feature: AssociateFiles, state: Absent, default requested: Unknown, ba requested: Local, execute action: AddLocal, rollback action: Remove [2970:1C2C][2025-08-01T08:14:45]i203: Planned feature: Shortcuts, state: Absent, default requested: Unknown, ba requested: Local, execute action: AddLocal, rollback action: Remove [2970:1C2C][2025-08-01T08:14:45]w322: Skipping cross-scope dependency registration on package: tcltk_AllUsers, bundle scope: PerUser, package scope: PerMachine [2970:1C2C][2025-08-01T08:14:45]i000: Setting string variable 'WixBundleRollbackLog_tcltk_AllUsers' to value 'C:\Users\lio.wang\AppData\Local\Temp\Python 3.10.6 (64-bit)_20250801081435_007_tcltk_AllUsers_rollback.log' [2970:1C2C][2025-08-01T08:14:45]i000: Setting string variable 'WixBundleLog_tcltk_AllUsers' to value 'C:\Users\lio.wang\AppData\Local\Temp\Python 3.10.6 (64-bit)_20250801081435_007_tcltk_AllUsers.log' [2970:1C2C][2025-08-01T08:14:45]i052: Condition 'InstallAllUsers and Include_tcltk and Include_symbols and not LauncherOnly' evaluates to false. [2970:1C2C][2025-08-01T08:14:45]i052: Condition 'InstallAllUsers and Include_tcltk and Include_symbols and not LauncherOnly' evaluates to false. [2970:1C2C][2025-08-01T08:14:45]i204: Plan 1 msi features for package: tcltk_AllUsers_pdb [2970:1C2C][2025-08-01T08:14:45]i203: Planned feature: Symbols, state: Absent, default requested: Unknown, ba requested: Local, execute action: AddLocal, rollback action: Remove [2970:1C2C][2025-08-01T08:14:45]w322: Skipping cross-scope dependency registration on package: tcltk_AllUsers_pdb, bundle scope: PerUser, package scope: PerMachine [2970:1C2C][2025-08-01T08:14:45]i052: Condition 'InstallAllUsers and Include_tcltk and Include_debug and not LauncherOnly' evaluates to false. [2970:1C2C][2025-08-01T08:14:45]i052: Condition 'InstallAllUsers and Include_tcltk and Include_debug and not LauncherOnly' evaluates to false. [2970:1C2C][2025-08-01T08:14:45]i204: Plan 1 msi features for package: tcltk_AllUsers_d [2970:1C2C][2025-08-01T08:14:45]i203: Planned feature: DebugBinaries, state: Absent, default requested: Unknown, ba requested: Local, execute action: AddLocal, rollback action: Remove [2970:1C2C][2025-08-01T08:14:45]w322: Skipping cross-scope dependency registration on package: tcltk_AllUsers_d, bundle scope: PerUser, package scope: PerMachine [2970:1C2C][2025-08-01T08:14:45]i052: Condition 'not InstallAllUsers and Include_tcltk and not LauncherOnly' evaluates to false. [2970:1C2C][2025-08-01T08:14:45]i052: Condition 'not InstallAllUsers and Include_tcltk and not LauncherOnly' evaluates to false. [2970:1C2C][2025-08-01T08:14:45]i204: Plan 3 msi features for package: tcltk_JustForMe [2970:1C2C][2025-08-01T08:14:45]i203: Planned feature: DefaultFeature, state: Absent, default requested: Unknown, ba requested: Local, execute action: AddLocal, rollback action: Remove [2970:1C2C][2025-08-01T08:14:45]i203: Planned feature: AssociateFiles, state: Absent, default requested: Unknown, ba requested: Local, execute action: AddLocal, rollback action: Remove [2970:1C2C][2025-08-01T08:14:45]i203: Planned feature: Shortcuts, state: Absent, default requested: Unknown, ba requested: Local, execute action: AddLocal, rollback action: Remove [2970:1C2C][2025-08-01T08:14:45]i052: Condition 'not InstallAllUsers and Include_tcltk and Include_symbols and not LauncherOnly' evaluates to false. [2970:1C2C][2025-08-01T08:14:45]i052: Condition 'not InstallAllUsers and Include_tcltk and Include_symbols and not LauncherOnly' evaluates to false. [2970:1C2C][2025-08-01T08:14:45]i204: Plan 1 msi features for package: tcltk_JustForMe_pdb [2970:1C2C][2025-08-01T08:14:45]i203: Planned feature: Symbols, state: Absent, default requested: Unknown, ba requested: Local, execute action: AddLocal, rollback action: Remove [2970:1C2C][2025-08-01T08:14:45]i052: Condition 'not InstallAllUsers and Include_tcltk and Include_debug and not LauncherOnly' evaluates to false. [2970:1C2C][2025-08-01T08:14:45]i052: Condition 'not InstallAllUsers and Include_tcltk and Include_debug and not LauncherOnly' evaluates to false. [2970:1C2C][2025-08-01T08:14:45]i204: Plan 1 msi features for package: tcltk_JustForMe_d [2970:1C2C][2025-08-01T08:14:45]i203: Planned feature: DebugBinaries, state: Absent, default requested: Unknown, ba requested: Local, execute action: AddLocal, rollback action: Remove [2970:1C2C][2025-08-01T08:14:45]i052: Condition '(InstallAllUsers or InstallLauncherAllUsers) and Include_launcher and not DetectedLauncher' evaluates to true. [2970:1C2C][2025-08-01T08:14:45]i052: Condition '(InstallAllUsers or InstallLauncherAllUsers) and Include_launcher and not DetectedLauncher' evaluates to true. [2970:1C2C][2025-08-01T08:14:45]i204: Plan 2 msi features for package: launcher_AllUsers [2970:1C2C][2025-08-01T08:14:45]i203: Planned feature: DefaultFeature, state: Absent, default requested: Unknown, ba requested: Local, execute action: AddLocal, rollback action: Remove [2970:1C2C][2025-08-01T08:14:45]i203: Planned feature: AssociateFiles, state: Absent, default requested: Unknown, ba requested: Local, execute action: AddLocal, rollback action: Remove [2970:1C2C][2025-08-01T08:14:45]w322: Skipping cross-scope dependency registration on package: launcher_AllUsers, bundle scope: PerUser, package scope: PerMachine [2970:1C2C][2025-08-01T08:14:45]i000: Setting string variable 'WixBundleLog_launcher_AllUsers' to value 'C:\Users\lio.wang\AppData\Local\Temp\Python 3.10.6 (64-bit)_20250801081435_008_launcher_AllUsers.log' [2970:1C2C][2025-08-01T08:14:45]i052: Condition 'not (InstallAllUsers or InstallLauncherAllUsers) and Include_launcher and not DetectedLauncher' evaluates to false. [2970:1C2C][2025-08-01T08:14:45]i052: Condition 'not (InstallAllUsers or InstallLauncherAllUsers) and Include_launcher and not DetectedLauncher' evaluates to false. [2970:1C2C][2025-08-01T08:14:45]i204: Plan 2 msi features for package: launcher_JustForMe [2970:1C2C][2025-08-01T08:14:45]i203: Planned feature: DefaultFeature, state: Absent, default requested: Unknown, ba requested: Local, execute action: AddLocal, rollback action: Remove [2970:1C2C][2025-08-01T08:14:45]i203: Planned feature: AssociateFiles, state: Absent, default requested: Unknown, ba requested: Local, execute action: AddLocal, rollback action: Remove [2970:1C2C][2025-08-01T08:14:45]i052: Condition 'InstallAllUsers and Include_pip and not LauncherOnly' evaluates to true. [2970:1C2C][2025-08-01T08:14:45]i052: Condition 'InstallAllUsers and Include_pip and not LauncherOnly' evaluates to true. [2970:1C2C][2025-08-01T08:14:45]w322: Skipping cross-scope dependency registration on package: pip_AllUsers, bundle scope: PerUser, package scope: PerMachine [2970:1C2C][2025-08-01T08:14:45]i000: Setting string variable 'WixBundleRollbackLog_pip_AllUsers' to value 'C:\Users\lio.wang\AppData\Local\Temp\Python 3.10.6 (64-bit)_20250801081435_009_pip_AllUsers_rollback.log' [2970:1C2C][2025-08-01T08:14:45]i000: Setting string variable 'WixBundleLog_pip_AllUsers' to value 'C:\Users\lio.wang\AppData\Local\Temp\Python 3.10.6 (64-bit)_20250801081435_009_pip_AllUsers.log' [2970:1C2C][2025-08-01T08:14:45]i052: Condition 'not InstallAllUsers and Include_pip and not LauncherOnly' evaluates to false. [2970:1C2C][2025-08-01T08:14:45]i052: Condition 'not InstallAllUsers and Include_pip and not LauncherOnly' evaluates to false. [2970:1C2C][2025-08-01T08:14:45]i052: Condition 'InstallAllUsers and PrependPath and not LauncherOnly' evaluates to true. [2970:1C2C][2025-08-01T08:14:45]i052: Condition 'InstallAllUsers and PrependPath and not LauncherOnly' evaluates to true. [2970:1C2C][2025-08-01T08:14:45]w322: Skipping cross-scope dependency registration on package: path_AllUsers, bundle scope: PerUser, package scope: PerMachine [2970:1C2C][2025-08-01T08:14:45]i000: Setting string variable 'WixBundleRollbackLog_path_AllUsers' to value 'C:\Users\lio.wang\AppData\Local\Temp\Python 3.10.6 (64-bit)_20250801081435_010_path_AllUsers_rollback.log' [2970:1C2C][2025-08-01T08:14:45]i000: Setting string variable 'WixBundleLog_path_AllUsers' to value 'C:\Users\lio.wang\AppData\Local\Temp\Python 3.10.6 (64-bit)_20250801081435_010_path_AllUsers.log' [2970:1C2C][2025-08-01T08:14:45]i052: Condition 'not InstallAllUsers and PrependPath and not LauncherOnly' evaluates to false. [2970:1C2C][2025-08-01T08:14:45]i052: Condition 'not InstallAllUsers and PrependPath and not LauncherOnly' evaluates to false. [2970:1C2C][2025-08-01T08:14:45]i052: Condition 'InstallAllUsers and CompileAll and not LauncherOnly' evaluates to true. [2970:1C2C][2025-08-01T08:14:45]i052: Condition 'InstallAllUsers and CompileAll and not LauncherOnly' evaluates to true. [2970:1C2C][2025-08-01T08:14:45]w321: Skipping dependency registration on package with no dependency providers: compileall_AllUsers [2970:1C2C][2025-08-01T08:14:45]i000: Setting string variable 'WixBundleLog_compileall_AllUsers' to value 'C:\Users\lio.wang\AppData\Local\Temp\Python 3.10.6 (64-bit)_20250801081435_011_compileall_AllUsers.log' [2970:1C2C][2025-08-01T08:14:45]i052: Condition 'InstallAllUsers and CompileAll and not LauncherOnly' evaluates to true. [2970:1C2C][2025-08-01T08:14:45]i052: Condition 'InstallAllUsers and CompileAll and not LauncherOnly' evaluates to true. [2970:1C2C][2025-08-01T08:14:45]w321: Skipping dependency registration on package with no dependency providers: compileallO_AllUsers [2970:1C2C][2025-08-01T08:14:45]i000: Setting string variable 'WixBundleLog_compileallO_AllUsers' to value 'C:\Users\lio.wang\AppData\Local\Temp\Python 3.10.6 (64-bit)_20250801081435_012_compileallO_AllUsers.log' [2970:1C2C][2025-08-01T08:14:45]i052: Condition 'InstallAllUsers and CompileAll and not LauncherOnly' evaluates to true. [2970:1C2C][2025-08-01T08:14:45]i052: Condition 'InstallAllUsers and CompileAll and not LauncherOnly' evaluates to true. [2970:1C2C][2025-08-01T08:14:45]w321: Skipping dependency registration on package with no dependency providers: compileallOO_AllUsers [2970:1C2C][2025-08-01T08:14:45]i000: Setting string variable 'WixBundleLog_compileallOO_AllUsers' to value 'C:\Users\lio.wang\AppData\Local\Temp\Python 3.10.6 (64-bit)_20250801081435_013_compileallOO_AllUsers.log' [2970:1C2C][2025-08-01T08:14:45]i052: Condition 'not InstallAllUsers and CompileAll and not LauncherOnly' evaluates to false. [2970:1C2C][2025-08-01T08:14:45]i052: Condition 'not InstallAllUsers and CompileAll and not LauncherOnly' evaluates to false. [2970:1C2C][2025-08-01T08:14:45]w321: Skipping dependency registration on package with no dependency providers: compileall_JustForMe [2970:1C2C][2025-08-01T08:14:45]i052: Condition 'not InstallAllUsers and CompileAll and not LauncherOnly' evaluates to false. [2970:1C2C][2025-08-01T08:14:45]i052: Condition 'not InstallAllUsers and CompileAll and not LauncherOnly' evaluates to false. [2970:1C2C][2025-08-01T08:14:45]w321: Skipping dependency registration on package with no dependency providers: compileallO_JustForMe [2970:1C2C][2025-08-01T08:14:45]i052: Condition 'not InstallAllUsers and CompileAll and not LauncherOnly' evaluates to false. [2970:1C2C][2025-08-01T08:14:45]i052: Condition 'not InstallAllUsers and CompileAll and not LauncherOnly' evaluates to false. [2970:1C2C][2025-08-01T08:14:45]w321: Skipping dependency registration on package with no dependency providers: compileallOO_JustForMe [2970:1C2C][2025-08-01T08:14:45]i201: Planned package: ucrt_AllUsers, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None [2970:1C2C][2025-08-01T08:14:45]i201: Planned package: ucrt_JustForMe, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None [2970:1C2C][2025-08-01T08:14:45]i201: Planned package: core_AllUsers, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: Uninstall, cache: Yes, uncache: No, dependency: None [2970:1C2C][2025-08-01T08:14:45]i201: Planned package: core_AllUsers_pdb, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None [2970:1C2C][2025-08-01T08:14:45]i201: Planned package: core_AllUsers_d, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None [2970:1C2C][2025-08-01T08:14:45]i201: Planned package: core_JustForMe, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None [2970:1C2C][2025-08-01T08:14:45]i201: Planned package: core_JustForMe_pdb, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None [2970:1C2C][2025-08-01T08:14:45]i201: Planned package: core_JustForMe_d, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None [2970:1C2C][2025-08-01T08:14:45]i201: Planned package: exe_AllUsers, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: Uninstall, cache: Yes, uncache: No, dependency: None [2970:1C2C][2025-08-01T08:14:45]i201: Planned package: exe_AllUsers_pdb, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None [2970:1C2C][2025-08-01T08:14:45]i201: Planned package: exe_AllUsers_d, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None [2970:1C2C][2025-08-01T08:14:45]i201: Planned package: exe_JustForMe, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None [2970:1C2C][2025-08-01T08:14:45]i201: Planned package: exe_JustForMe_pdb, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None [2970:1C2C][2025-08-01T08:14:45]i201: Planned package: exe_JustForMe_d, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None [2970:1C2C][2025-08-01T08:14:45]i201: Planned package: dev_AllUsers, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: Uninstall, cache: Yes, uncache: No, dependency: None [2970:1C2C][2025-08-01T08:14:45]i201: Planned package: dev_AllUsers_d, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None [2970:1C2C][2025-08-01T08:14:45]i201: Planned package: dev_JustForMe, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None [2970:1C2C][2025-08-01T08:14:45]i201: Planned package: dev_JustForMe_d, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None [2970:1C2C][2025-08-01T08:14:45]i201: Planned package: lib_AllUsers, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: Uninstall, cache: Yes, uncache: No, dependency: None [2970:1C2C][2025-08-01T08:14:45]i201: Planned package: lib_AllUsers_pdb, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None [2970:1C2C][2025-08-01T08:14:45]i201: Planned package: lib_AllUsers_d, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None [2970:1C2C][2025-08-01T08:14:45]i201: Planned package: lib_JustForMe, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None [2970:1C2C][2025-08-01T08:14:45]i201: Planned package: lib_JustForMe_pdb, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None [2970:1C2C][2025-08-01T08:14:45]i201: Planned package: lib_JustForMe_d, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None [2970:1C2C][2025-08-01T08:14:45]i201: Planned package: test_AllUsers, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: Uninstall, cache: Yes, uncache: No, dependency: None [2970:1C2C][2025-08-01T08:14:45]i201: Planned package: test_AllUsers_pdb, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None [2970:1C2C][2025-08-01T08:14:45]i201: Planned package: test_AllUsers_d, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None [2970:1C2C][2025-08-01T08:14:45]i201: Planned package: test_JustForMe, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None [2970:1C2C][2025-08-01T08:14:45]i201: Planned package: test_JustForMe_pdb, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None [2970:1C2C][2025-08-01T08:14:45]i201: Planned package: test_JustForMe_d, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None [2970:1C2C][2025-08-01T08:14:45]i201: Planned package: doc_AllUsers, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: Uninstall, cache: Yes, uncache: No, dependency: None [2970:1C2C][2025-08-01T08:14:45]i201: Planned package: doc_JustForMe, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: Yes, dependency: None [2970:1C2C][2025-08-01T08:14:45]i201: Planned package: tools_AllUsers, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: Uninstall, cache: Yes, uncache: No, dependency: None [2970:1C2C][2025-08-01T08:14:45]i201: Planned package: tools_JustForMe, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: Yes, dependency: None [2970:1C2C][2025-08-01T08:14:45]i201: Planned package: tcltk_AllUsers, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: Uninstall, cache: Yes, uncache: No, dependency: None [2970:1C2C][2025-08-01T08:14:45]i201: Planned package: tcltk_AllUsers_pdb, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None [2970:1C2C][2025-08-01T08:14:45]i201: Planned package: tcltk_AllUsers_d, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None [2970:1C2C][2025-08-01T08:14:45]i201: Planned package: tcltk_JustForMe, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: Yes, dependency: None [2970:1C2C][2025-08-01T08:14:45]i201: Planned package: tcltk_JustForMe_pdb, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None [2970:1C2C][2025-08-01T08:14:45]i201: Planned package: tcltk_JustForMe_d, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None [2970:1C2C][2025-08-01T08:14:45]i201: Planned package: launcher_AllUsers, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: None, cache: Yes, uncache: No, dependency: None [2970:1C2C][2025-08-01T08:14:45]i201: Planned package: launcher_JustForMe, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None [2970:1C2C][2025-08-01T08:14:45]i201: Planned package: pip_AllUsers, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: Uninstall, cache: Yes, uncache: No, dependency: None [2970:1C2C][2025-08-01T08:14:45]i201: Planned package: pip_JustForMe, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None [2970:1C2C][2025-08-01T08:14:45]i201: Planned package: path_AllUsers, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: Uninstall, cache: Yes, uncache: No, dependency: None [2970:1C2C][2025-08-01T08:14:45]i201: Planned package: path_JustForMe, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None [2970:1C2C][2025-08-01T08:14:45]i201: Planned package: compileall_AllUsers, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: None, cache: Yes, uncache: No, dependency: None [2970:1C2C][2025-08-01T08:14:45]i201: Planned package: compileallO_AllUsers, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: None, cache: Yes, uncache: No, dependency: None [2970:1C2C][2025-08-01T08:14:45]i201: Planned package: compileallOO_AllUsers, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: None, cache: Yes, uncache: No, dependency: None [2970:1C2C][2025-08-01T08:14:45]i201: Planned package: compileall_JustForMe, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None [2970:1C2C][2025-08-01T08:14:45]i201: Planned package: compileallO_JustForMe, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None [2970:1C2C][2025-08-01T08:14:45]i201: Planned package: compileallOO_JustForMe, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None [2970:1C2C][2025-08-01T08:14:45]i299: Plan complete, result: 0x0 [2970:1C2C][2025-08-01T08:14:45]i300: Apply begin [2970:1C2C][2025-08-01T08:14:45]i010: Launching elevated engine process. [2970:1C2C][2025-08-01T08:14:45]i011: Launched elevated engine process. [2970:1C2C][2025-08-01T08:14:46]i012: Connected to elevated engine. [4524:493C][2025-08-01T08:14:46]i358: Pausing automatic updates. [4524:493C][2025-08-01T08:14:46]i359: Paused automatic updates. [4524:493C][2025-08-01T08:14:46]i360: Creating a system restore point. [4524:493C][2025-08-01T08:14:46]w363: Could not create system restore point, error: 0x80070005. Continuing... [2970:1C2C][2025-08-01T08:14:46]i370: Session begin, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{1fab56ed-b241-47a3-9abc-d51dc01b8dff}, options: 0x7, disable resume: No [2970:1C2C][2025-08-01T08:14:46]i000: Caching bundle from: 'C:\Windows\Temp\{7F79A38C-3B5E-4DE8-B9CD-201E49A2B9D7}\.be\python-3.10.6-amd64.exe' to: 'C:\Users\lio.wang\AppData\Local\Package Cache\{1fab56ed-b241-47a3-9abc-d51dc01b8dff}\python-3.10.6-amd64.exe' [2970:1C2C][2025-08-01T08:14:46]i320: Registering bundle dependency provider: CPython-3.10, version: 3.10.6150.0 [2970:1C2C][2025-08-01T08:14:46]i371: Updating session, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{1fab56ed-b241-47a3-9abc-d51dc01b8dff}, resume: Active, restart initiated: No, disable resume: No [4524:2FA0][2025-08-01T08:14:52]e000: Error 0x80070005: Failed to secure cache path: C:\ProgramData\Package Cache\ [4524:2FA0][2025-08-01T08:14:52]e000: Error 0x80070005: Failed to secure cache directory: C:\ProgramData\Package Cache\ [4524:2FA0][2025-08-01T08:14:52]e000: Error 0x80070005: Failed to get cached path for package with cache id: {C91F8E4B-F9C1-4FD1-BCF3-4A91CDAD4B72}v3.10.6150.0 [4524:2FA0][2025-08-01T08:14:52]e000: Error 0x80070005: Failed to cache payload: core_AllUsers [2970:11D8][2025-08-01T08:14:52]e314: Failed to cache payload: core_AllUsers from working path: C:\Windows\Temp\{7F79A38C-3B5E-4DE8-B9CD-201E49A2B9D7}\core_AllUsers, error: 0x80070005. [2970:11D8][2025-08-01T08:14:52]e349: Application requested retry of payload: core_AllUsers, encountered error: 0x80070005. Retrying... [4524:2FA0][2025-08-01T08:14:58]e000: Error 0x80070005: Failed to secure cache path: C:\ProgramData\Package Cache\ [4524:2FA0][2025-08-01T08:14:58]e000: Error 0x80070005: Failed to secure cache directory: C:\ProgramData\Package Cache\ [4524:2FA0][2025-08-01T08:14:58]e000: Error 0x80070005: Failed to get cached path for package with cache id: {C91F8E4B-F9C1-4FD1-BCF3-4A91CDAD4B72}v3.10.6150.0 [4524:2FA0][2025-08-01T08:14:58]e000: Error 0x80070005: Failed to cache payload: core_AllUsers [2970:11D8][2025-08-01T08:14:58]e314: Failed to cache payload: core_AllUsers from working path: C:\Windows\Temp\{7F79A38C-3B5E-4DE8-B9CD-201E49A2B9D7}\core_AllUsers, error: 0x80070005. [2970:11D8][2025-08-01T08:14:58]e349: Application requested retry of payload: core_AllUsers, encountered error: 0x80070005. Retrying... [4524:2FA0][2025-08-01T08:15:04]e000: Error 0x80070005: Failed to secure cache path: C:\ProgramData\Package Cache\ [4524:2FA0][2025-08-01T08:15:04]e000: Error 0x80070005: Failed to secure cache directory: C:\ProgramData\Package Cache\ [4524:2FA0][2025-08-01T08:15:04]e000: Error 0x80070005: Failed to get cached path for package with cache id: {C91F8E4B-F9C1-4FD1-BCF3-4A91CDAD4B72}v3.10.6150.0 [4524:2FA0][2025-08-01T08:15:04]e000: Error 0x80070005: Failed to cache payload: core_AllUsers [2970:11D8][2025-08-01T08:15:04]e314: Failed to cache payload: core_AllUsers from working path: C:\Windows\Temp\{7F79A38C-3B5E-4DE8-B9CD-201E49A2B9D7}\core_AllUsers, error: 0x80070005. [2970:1C2C][2025-08-01T08:15:04]e000: Error 0x80070005: Cache thread exited unexpectedly. [2970:1C2C][2025-08-01T08:15:04]i329: Removed package dependency provider: {81A25F1F-687C-4360-8221-403871E6A032}, package: ucrt_JustForMe [2970:1C2C][2025-08-01T08:15:04]i372: Session end, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{1fab56ed-b241-47a3-9abc-d51dc01b8dff}, resume: None, restart: None, disable resume: No [2970:1C2C][2025-08-01T08:15:04]i330: Removed bundle dependency provider: CPython-3.10 [2970:1C2C][2025-08-01T08:15:04]i352: Removing cached bundle: {1fab56ed-b241-47a3-9abc-d51dc01b8dff}, from path: C:\Users\lio.wang\AppData\Local\Package Cache\{1fab56ed-b241-47a3-9abc-d51dc01b8dff}\ [2970:1C2C][2025-08-01T08:15:04]i371: Updating session, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{1fab56ed-b241-47a3-9abc-d51dc01b8dff}, resume: None, restart initiated: No, disable resume: No [2970:1C2C][2025-08-01T08:15:04]i399: Apply complete, result: 0x80070005, restart: None, ba requested restart: No 报错的原因是什么,有什么解决办法
最新发布
08-02
<think>嗯,用户遇到了Python 3.10.6安装时的缓存错误0x80070005,这个错误代码在Windows系统中很常见,通常表示权限不足或文件访问冲突。让我仔细分析一下。 用户提供的引用材料里虽然没有直接提到0x80070005错误,但引用[4]提到了安装Python时需要勾选"Add Python to PATH",引用[5]涉及Linux下的权限处理,这些权限相关的线索值得参考。结合Windows系统的特性,我认为核心问题应该是安装程序对系统目录的写入权限不足。 用户可能是在公司电脑或受控环境中安装,这类环境往往对C盘有严格的权限控制。也可能是安全软件在阻止安装程序修改系统文件。考虑到错误信息中提到的"payload core_AllUsers",这明显指向系统级的共享安装目录。 从技术角度看,这个错误涉及几个层面:首先是安装程序试图写入系统缓存目录时被拒绝;其次可能是之前安装残留的临时文件阻碍;还有可能是防病毒软件实时扫描的干扰。解决方案需要层层递进:从最简单的管理员权限运行,到清理残留文件,再到暂时关闭安全防护。 用户应该已经多次尝试安装失败,现在可能比较焦虑。我需要给出清晰的操作步骤,特别是要强调卸载残留清理的关键性——很多教程会忽略这点。同时要提醒用户备份重要数据,因为涉及系统权限操作。 关于解决方案,最稳妥的是创建专用安装目录并手动配置环境变量,这样完全避开系统目录权限问题。引用[4]提到的自定义安装路径思路很值得借鉴。另外要提醒用户,如果使用代理或企业网络,可能需要额外配置SSL证书,这在引用[5]的openssl编译参数中也有体现。 最后需要设置预防措施,比如安装前用icacls检查目录权限,这个技巧虽然高级但能根治问题。考虑到用户可能不是系统管理员,替代方案如修改缓存路径也很实用。</think>Python安装错误0x80070005通常表示**权限不足或文件访问冲突**。以下是针对该问题的详细解决方案: --- ### **错误原因分析** 错误代码 `0x80070005` 的核心是**访问被拒绝**,常见原因: 1. **权限不足**:安装程序无权写入系统目录(如 `C:\Program Files` 或缓存目录)。 2. **安全软件拦截**:杀毒软件/防火墙阻止安装程序修改系统文件。 3. **残留文件冲突**:之前安装失败的临时文件未被清理。 4. **系统策略限制**:企业环境或组策略禁止软件安装。 --- ### **解决方法步骤** #### **1. 以管理员身份运行安装程序** - 右键点击安装包(`python-3.10.6-amd64.exe`)→ **“以管理员身份运行”** ![](https://example.com/admin-run.png) *(示意图:管理员身份运行选项)* #### **2. 关闭安全软件** - 临时禁用杀毒软件(如360、火绒、Windows Defender)和防火墙。 - **操作路径**: Windows安全中心 → 病毒和威胁防护 → 管理设置 → 关闭实时保护 ![](https://example.com/disable-av.png) #### **3. 清理残留文件** 1. 删除Python缓存目录: ```powershell # 在命令提示符执行 del /f /q %LocalAppData%\PackageCache\* ``` 2. 清除临时文件: Win+R 输入 `%temp%` → 删除所有文件 ![](https://example.com/temp-folder.png) #### **4. 修改安装目录(避开系统权限)** - 安装时选择**自定义路径**(如 `D:\Python310`): 1. 运行安装程序 → 勾选 **“Add Python 3.10 to PATH”** [^4] 2. 选择 **“Customize installation”** → 修改路径为非系统盘 ![](https://example.com/custom-path.png) #### **5. 手动配置环境变量** 若安装后Python命令仍不可用: 1. Win+R 输入 `sysdm.cpl` → 高级 → 环境变量 2. 在 `Path` 中添加两项: ``` D:\Python310\ D:\Python310\Scripts\ ``` ![](https://example.com/env-path.png) #### **6. 使用独立安装包(企业环境适用)** - 下载 **可移植版(ZIP包)**:[Python 3.10.6 Windows Embeddable Package](https://www.python.org/downloads/release/python-3106/) - 解压后直接运行,无需安装程序。 --- ### **预防措施** - **安装前操作**: ```cmd icacls "C:\ProgramData\Package Cache" /grant Users:F # 授予用户权限 ``` - **长期方案**: 使用虚拟环境(如 `venv` 或 `conda`)避免系统目录冲突[^1]。 --- ### **故障排除流程图** ```mermaid graph TD A[安装失败 0x80070005] --> B{是否管理员运行?} B -->|否| C[以管理员身份重试] B -->|是| D{关闭安全软件?} D -->|否| E[临时禁用后重试] D -->|是| F{清理残留文件?} F -->|否| G[删除缓存和临时文件] F -->|是| H[更换安装目录] H --> I[成功?] I -->|是| J[完成] I -->|否| K[使用ZIP便携版] ``` ---
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值