gpt4 book ai didi

Python 安装程序 : "0x80070642 - User cancelled installation"

转载 作者:太空宇宙 更新时间:2023-11-03 12:43:58 24 4
gpt4 key购买 nike

每当我在工作时尝试将 Python 3.6.3(32 位)安装到我的 Windows 7 笔记本电脑时,安装程​​序会失败并出现以下错误。

0x80070642 - User cancelled installation

此错误在安装“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.

最佳答案

我能够通过取消选中“为所有用户安装启动器 来解决错误。取消选中后,安装程序将按预期工作,没有任何问题。

Installer with "install launcher for all users" unchecked

大概是文件夹权限有问题,因为这是在受管理的工作机器上。

关于Python 安装程序 : "0x80070642 - User cancelled installation",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/46893740/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com