当我尝试卸载和重新安装时,仍然出现相同的行为。我在 Stackoverflow 上找到了一些类似的问题(链接已经丢失),但是当我尝试使用提供的解决方案时,情况只有更加糟糕。我认为可能需要从 appdata 中删除某些东西,但这也没有解决问题。
我正在运行Windows 10专业版版本1703 OS Build 15063.786。我不确定是不是Windows更新引起了这个问题。最终,所有的快捷方式都指向了不存在的东西。我执行了以下任务。
一切恢复正常。特别感谢sytech。检查环境变量没有提供解决方案,但它让我走上了正确的调查轨道。
To uninstall Anaconda, you can do a simple remove of the program. This will leave a few files behind, which for most users is just fine. See Option A.
If you also want to remove all traces of the configuration files and directories from Anaconda and its programs, you can download and use the Anaconda-Clean program first, then do a simple remove. See Option B.
Option A. Use simple remove to uninstall Anaconda:
- Windows–In the Control Panel, choose Add or Remove Programs or Uninstall a program, and then select Python 3.6 (Anaconda) or your version of Python.
- [... also solutions for Mac and Linux are provided here: https://docs.anaconda.com/anaconda/install/uninstall/ ]
Option B: Full uninstall using Anaconda-Clean and simple remove.
NOTE: Anaconda-Clean must be run before simple remove.
Install the Anaconda-Clean package from Anaconda Prompt (Terminal on Linux or macOS):
conda install anaconda-clean
In the same window, run one of these commands:
Remove all Anaconda-related files and directories with a confirmation prompt before deleting each one:
anaconda-clean
Or, remove all Anaconda-related files and directories without being prompted to delete each one:
anaconda-clean --yes
Anaconda-Clean creates a backup of all files and directories that might be removed in a folder named .anaconda_backup in your home directory. Also note that Anaconda-Clean leaves your data files in the AnacondaProjects directory untouched.
After using Anaconda-Clean, follow the instructions above in Option A to uninstall Anaconda.
%USERPROFILE%
缺失是相当惊人的。这通常应该默认存在。也许是虚拟环境出了严重问题? - sytech