系统还原后无法从 Windows 7 卸载 Python 3.4.2 [英] Can't uninstall Python 3.4.2 from Windows 7 after system restore
问题描述
在卸载 Python 3.4.2 几天后,我不得不执行系统还原(我使用的是 Windows 7),因为我不小心安装了一堆垃圾软件,即使在安装后也会弄乱我的计算机.该系统有效地恢复了重新安装"的 Python,或者更确切地说是它的损坏版本.我现在无法通过通常的控制面板 -> 卸载程序工具卸载它,也无法使用原始安装程序重新安装它.不幸的是,Windows 没有保存我可以恢复到的早期系统快照.
A couple of days after uninstalling Python 3.4.2 I had to carry out a system restore (I'm using Windows 7) due to accidentally installing a bunch of rubbish-ware that was messing with my computer even after installation. This system restore effectively "reinstalled" Python, or rather a broken version of it. I now can't uninstall it via the usual Control Panel -> Uninstall Programs tool, nor can I reinstall it using the original installer. Unfortunately Windows has not saved an earlier system snapshot that I could restore to.
卸载和重新安装过程都取得了相当大的进展,然后停止并显示警告错误:此 Windows 安装程序包存在问题.作为安装程序的一部分运行的程序未按预期完成.联系您的支持人员或软件包供应商"
Both the uninstall and reinstall processes make a fair bit of progress before stopping with a warning error that says: "There is a problem with this Windows Installer package. A program run as part of the setup did not finish as expected. Contact your support personnel or package vendor"
有人对我如何才能成功卸载有任何建议吗?
Does anyone have any suggestions on how I might succeed in this uninstallation?
推荐答案
删除c:\Python3.4\
目录,重新安装python 3.4(任何子版本,只要是3.4即可),然后卸载它.
Just delete the c:\Python3.4\
directory, Reinstall python 3.4 (any sub version, just has to be 3.4), and uninstall that.
Python 在大多数情况下完全独立于 Python3.4 目录中.仅需要重新安装 python,这样您就可以获得全新的卸载程序来删除安装时创建的注册表项.
Python is, for the most part, totally self-contained in the Python3.4 directory. Reinstalling python is only needed so you can get a fresh uninstaller to remove the registry keys installation creates.
这篇关于系统还原后无法从 Windows 7 卸载 Python 3.4.2的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!