Python 3.8.3安装 0x80070005-拒绝访问
试了好多种办法,文件夹权限搞过、管理员身份运行安装过、安装选项也几乎试了个遍,但是都没用。{:5_90:}之前刚刚卸载Python 3.5,甚至对于中有Python名的文件删了个遍,可是结果依然没用。{:5_107:}
于是来问问到底什么问题。{:5_94:}
i001: Burn v3.11.1.2318, Windows v10.0 (Build 18363: Service Pack 0), path: C:\WINDOWS\Temp\{58A42026-828B-43D8-A7E8-AEDD8B773E76}\.cr\python-3.8.3-amd64.exe
i000: Initializing string variable 'ActionLikeInstalling' to value 'Installing'
i000: Initializing string variable 'ActionLikeInstallation' to value 'Setup'
i000: Initializing string variable 'ShortVersion' to value '3.8'
i000: Initializing numeric variable 'ShortVersionNoDot' to value '38'
i000: Initializing string variable 'WinVer' to value '3.8'
i000: Initializing numeric variable 'WinVerNoDot' to value '38'
i000: Initializing numeric variable 'InstallAllUsers' to value '0'
i000: Initializing numeric variable 'InstallLauncherAllUsers' to value '1'
i000: Initializing string variable 'TargetDir' to value ''
i000: Initializing string variable 'DefaultAllUsersTargetDir' to value 'Python'
i000: Initializing string variable 'TargetPlatform' to value 'x64'
i000: Initializing string variable 'DefaultJustForMeTargetDir' to value 'Programs\Python\Python'
·
·
·
i300: Apply begin
i010: Launching elevated engine process.
i011: Launched elevated engine process.
i012: Connected to elevated engine.
i358: Pausing automatic updates.
i359: Paused automatic updates.
i360: Creating a system restore point.
i361: Created a system restore point.
i370: Session begin, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{f7b3255c-a01a-4595-8768-ff8f6613898c}, options: 0x7, disable resume: No
i000: Caching bundle from: 'C:\WINDOWS\Temp\{8ED00E35-8501-49C4-A44D-9F7AF633CD77}\.be\python-3.8.3-amd64.exe' to: 'C:\Users\ASUS\AppData\Local\Package Cache\{f7b3255c-a01a-4595-8768-ff8f6613898c}\python-3.8.3-amd64.exe'
i320: Registering bundle dependency provider: CPython-3.8, version: 3.8.3150.0
i371: Updating session, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{f7b3255c-a01a-4595-8768-ff8f6613898c}, resume: Active, restart initiated: No, disable resume: No
e000: Error 0x80070005: Failed to write run key value.
e000: Error 0x80070005: Failed to update resume mode.
e000: Error 0x80070005: Failed to begin registration session.
e000: Error 0x80070005: Failed to register bundle.
i399: Apply complete, result: 0x80070005, restart: None, ba requested restart:No
https://fishc.com.cn/thread-150746-1-1.html
尝试还原以前的环境变量,然后试着安装
在安装Python时把download的选项去掉,不去的话要翻墙才能安装成功 安装python的时候是不是选了download的选项,去掉!那东西在国外呢(需要跳才行的) i371: Updating session, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{f7b3255c-a01a-4595-8768-ff8f6613898c}, resume: Active, restart initiated: No, disable resume: No
e000: Error 0x80070005: Failed to write run key value.
这个错误是被拒绝写入注册表,这是安装程序在注册表中写入卸载信息时候被阻止,十有八九是某个安全软件在搞鬼,因为windows的注册表是个非常重要但是脆弱的东西,所以有的安全软件会对写注册表的行为进行拦截,有可能你在拦截窗口出来的时候点了阻止或者做过什么不让写入注册表的策略,一种方法是暂停安全软件后进行安装,一种方法是下zip包,这个解压直接用不用写注册表。
页:
[1]