无法在 Windows 上卸载 Python 3.5

无法在 Windows 上卸载 Python 3.5

我正在尝试在 Windows 7 笔记本电脑上卸载 Windows 64 位 Python 版本,但无法做到。

它检测到已安装的版本,因此它提供了修改、修复或卸载的选项。但在初始化卸载时,它显示:

未检测到 Python 3.5 安装。

我尝试过修复然后卸载,但无济于事。我也尝试过网上提到的几种解决方案,但都不起作用。

以下是日志:

[0130:32A4][2018-08-28T12:57:42]i360: Creating a system restore point.
[0130:32A4][2018-08-28T12:57:54]i361: Created a system restore point.
[410C:17CC][2018-08-28T12:57:54]i371: Updating session, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{e599f76f-2b95-44da-a280-77548b1b2a21}, resume: Active, restart initiated: No, disable resume: No
[410C:17CC][2018-08-28T12:57:54]i329: Removed package dependency provider: {810503AC-4E50-4A21-BD5A-BFA973480B35}, package: path_JustForMe
[410C:17CC][2018-08-28T12:57:54]i326: Removed dependency: {e599f76f-2b95-44da-a280-77548b1b2a21} on package provider: {6ADAF31E-EEE6-4251-BE5A-EFD7868D3930}, package pip_JustForMe
[410C:17CC][2018-08-28T12:57:54]i329: Removed package dependency provider: {6ADAF31E-EEE6-4251-BE5A-EFD7868D3930}, package: pip_JustForMe
[410C:17CC][2018-08-28T12:57:54]i301: Applying execute package: pip_JustForMe, action: Uninstall, path: (null), arguments: ' ARPSYSTEMCOMPONENT="1" MSIFASTINSTALL="7" TARGETDIR="C:\Users\gjoshi\AppData\Local\Programs\Python\Python35\" OPTIONALFEATURESREGISTRYKEY="Software\Python\PythonCore\3.5\InstalledFeatures"'
[410C:17CC][2018-08-28T12:57:58]e000: Error 0x80070643: Failed to uninstall MSI package.
[410C:17CC][2018-08-28T12:57:58]e000: Error 0x80070643: Failed to configure per-user MSI package.
[410C:17CC][2018-08-28T12:57:58]i319: Applied execute package: pip_JustForMe, result: 0x80070643, restart: None
[410C:17CC][2018-08-28T12:57:58]e000: Error 0x80070643: Failed to execute MSI package.
[410C:17CC][2018-08-28T12:57:58]i318: Skipped rollback of package: pip_JustForMe, action: Install, already: Present
[410C:17CC][2018-08-28T12:57:58]i319: Applied rollback package: pip_JustForMe, result: 0x0, restart: None
[410C:17CC][2018-08-28T12:57:58]i323: Registering package dependency provider: {6ADAF31E-EEE6-4251-BE5A-EFD7868D3930}, version: 3.5.150.0, package: pip_JustForMe
[410C:17CC][2018-08-28T12:57:58]i325: Registering dependency: {e599f76f-2b95-44da-a280-77548b1b2a21} on package provider: {6ADAF31E-EEE6-4251-BE5A-EFD7868D3930}, package: pip_JustForMe
[410C:17CC][2018-08-28T12:57:58]i372: Session end, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{e599f76f-2b95-44da-a280-77548b1b2a21}, resume: ARP, restart: None, disable resume: No
[410C:17CC][2018-08-28T12:57:58]i371: Updating session, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{e599f76f-2b95-44da-a280-77548b1b2a21}, resume: ARP, restart initiated: No, disable resume: No
[410C:17CC][2018-08-28T12:57:58]i399: Apply complete, result: 0x80070643, restart: None, ba requested restart:  No

答案1

有效的解决方案是从安装程序中单击修复并让它失败。失败后,我将其卸载并重新安装,它运行正常。

所有步骤均通过标准安装程序完成。

相关内容