每当我尝试将Python 3.6.3(32位)安装到我的Windows 7笔记本电脑上时,安装程序都会失败,并显示以下错误。
0x80070642 - 用户取消安装
在安装“Python 3.6.3标准库(32位)”时,此错误始终在安装过程中发生,如Python的进度条在任务栏图标中变为红色所示。
Looking at the installer log,我注意到一些报告Failed to secure cache path:
的条目,但搜索这些错误并未提供任何其他详细信息。
Error 0x80070005: Failed to secure cache path: C:\ProgramData\Package Cache\
Error 0x80070005: Failed to secure cache directory: C:\ProgramData\Package Cache\
Error 0x80070005: Failed to get cached path for package with cache id: {C093353B-F9EE-4A06-923D-C1B340B82886}v3.6.6119.0
Error 0x80070005: Failed to cache payload: launcher_AllUsers
Failed to cache payload: launcher_AllUsers from working path: C:\Users\SVASCE~1\AppData\Local\Temp\{973D88A7-E2AD-4A3C-AA24-79C5637B217A}\launcher_AllUsers, error: 0x80070005.