解决卸载Python时报错问题:No Python 3.6 installation was detected

本文提供了卸载Python的具体步骤:首先删除安装目录下的Python文件夹,然后通过控制面板的删除程序功能找到Python并进行修复操作,最后再尝试卸载。
部署运行你感兴趣的模型镜像
  1. 打开C:\Users\Administrator\AppData\Local\Programs;
  2. 删除Python文件夹;
  3. 打开控制面板>> 删除程序,找到Python,右键点击更改;
  4. 点击Repair (Uninstall的上一个选项);
  5. 完成后再按照上面的方法就可以正常卸载了。

您可能感兴趣的与本文相关的镜像

Qwen3-8B

Qwen3-8B

文本生成
Qwen3

Qwen3 是 Qwen 系列中的最新一代大型语言模型,提供了一整套密集型和专家混合(MoE)模型。基于广泛的训练,Qwen3 在推理、指令执行、代理能力和多语言支持方面取得了突破性进展

Setting PYTHONNOUSERSITE, was not set Using Python in D:\Espressif\python_env\idf5.3_py3.11_env\Scripts Python 3.11.3 Using Git in D:\Espressif\tools\idf-git\2.44.0\cmd git version 2.44.0.windows.1 Setting IDF_PATH: D:\Espressif\frameworks\esp-idf-v5.3.3 Checking Python compatibility Adding ESP-IDF tools to PATH... WARNING: The following issue occurred while accessing the ESP-IDF version file in the Python environment: [Errno 2] No such file or directory: 'd:\\Espressif\\python_env\\idf5.3_py3.11_env\\idf_version.txt'. (Diagnostic information. It can be ignored.) Name Value ---- ----- OPENOCD_SCRIPTS d:\Espressif\tools\openocd-esp32\v0.12.0-esp32-20241016\openocd-esp32\share\openocd\s... IDF_CCACHE_ENABLE 1 ESP_ROM_ELF_DIR d:\Espressif\tools\esp-rom-elfs\20240305\ ESP_IDF_VERSION 5.3 IDF_DEACTIVATE_FILE_PATH C:\Users\kk\AppData\Local\Temp\tmpbprduflzidf_10972 Added to PATH ------------- d:\Espressif\tools\xtensa-esp-elf-gdb\14.2_20240403\xtensa-esp-elf-gdb\bin d:\Espressif\tools\riscv32-esp-elf-gdb\14.2_20240403\riscv32-esp-elf-gdb\bin d:\Espressif\tools\xtensa-esp-elf\esp-13.2.0_20240530\xtensa-esp-elf\bin d:\Espressif\tools\esp-clang\16.0.1-fe4f10a809\esp-clang\bin d:\Espressif\tools\riscv32-esp-elf\esp-13.2.0_20240530\riscv32-esp-elf\bin d:\Espressif\tools\esp32ulp-elf\2.38_20240113\esp32ulp-elf\bin d:\Espressif\tools\cmake\3.30.2\bin d:\Espressif\tools\openocd-esp32\v0.12.0-esp32-20241016\openocd-esp32\bin d:\Espressif\tools\ninja\1.12.1\ d:\Espressif\tools\idf-exe\1.0.3\ d:\Espressif\tools\ccache\4.10.2\ccache-4.10.2-windows-x86_64 d:\Espressif\tools\dfu-util\0.11\dfu-util-0.11-win64 D:\Espressif\python_env\idf5.3_py3.11_env\Scripts d:\Espressif\frameworks\esp-idf-v5.3.3\tools Checking if Python packages are up to date... Constraint file: d:\Espressif\espidf.constraints.v5.3.txt Requirement files: - D:\Espressif\frameworks\esp-idf-v5.3.3\tools\requirements\requirements.core.txt Python being checked: d:\Espressif\python_env\idf5.3_py3.11_env\Scripts\python.exe Python requirements are satisfied. Detected installed tools that are not currently used by active ESP-IDF version. For removing old versions of idf-driver, idf-python-wheels use command 'python.exe D:\Espressif\frameworks\esp-idf-v5.3.3\tools\idf_tools.py uninstall' For free up even more space, remove installation packages of those tools. Use option 'python.exe D:\Espressif\frameworks\esp-idf-v5.3.3\tools\idf_tools.py uninstall --remove-archives'. Done! You can now compile ESP-IDF projects. Go to the project directory and run: idf.py build
07-16
卸载Python提示“**No Python 3.9 installation was detected**”是一个常见的问题,通常发生在注册表残留、安装路径不完整或安装信息丢失的情况下。以下是解决问题的详细方法: ### 方法一:手动清理安装残留文件 1. **删除Python安装目录** 检查默认安装路径(如 `C:\Program Files\Python39` 或 `C:\Program Files (x86)\Python39`)是否存在残留文件夹,若有则手动删除。 2. **删除用户目录下的Python缓存** 打开路径 `C:\Users\用户名\AppData\Local\Programs\Python`,若存在Python 3.9的文件夹,删除它。 3. **删除注册表项(谨慎操作)** 打开注册表编辑器(`regedit`),依次访问以下路径并删除与Python 3.9相关的项: ``` HKEY_CURRENT_USER\Software\Python HKEY_LOCAL_MACHINE\SOFTWARE\Python ``` 操作前建议备份注册表。 ### 方法二:使用控制面板修复安装再卸载 1. 打开“控制面板” → “程序和功能”。 2. 在程序列表中找到“Python 3.9”,右键选择“更改”。 3. 选择“**Repair**”选项,系统将尝试修复安装信息。 4. 修复完成后再次尝试卸载,此应能正常识别安装状态[^3]。 ### 方法三:使用第三方卸载工具 如果上述方法无效,可以使用第三方卸载工具如 **Revo Uninstaller** 或 **Geek Uninstaller**,它们能够扫描并删除残留的注册表项和文件,从而强制卸载Python。 ### 方法四:使用命令行修复安装 1. 下载与当前系统一致的Python 3.9安装包(可从[官网](https://www.python.org/downloads/release/python-390/)获取)。 2. 打开命令提示符并执行以下命令以尝试修复安装: ```cmd python-3.9.0.exe /repair ``` 3. 修复完成后再次尝试通过控制面板卸载。 ---
评论 6
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值