问题描述
由于某些原因,我安装的Anaconda已横盘整理.当我尝试打开Jupyter时,我注意到了.开始菜单快捷方式已损坏.当我单击它时,我得到了臭名昭著的命令行窗口的打开和关闭.我可以通过单击可执行文件来启动它,但是最后在笔记本电脑无法打开的怪异位置打开了笔记本.
My installation of Anaconda has gone sideways for some reason. I noticed it when I tried to open Jupyter. The start menu shortcut was broken. When I clicked on it, I got the infamous opening and closing of a command line window. I can start it by clicking on the executable but this winds up with the notebook opening in a weird location that I can't move out of.
当我尝试卸载并重新安装时,我得到的行为与以前相同.我进行了一次谷歌搜索,发现了一些类似Stackoverflow的问题(此后我已经丢失了,因此无法发布链接),但是当我按照提供的解决方案进行操作时,我得到的却更多.我认为可能需要从应用程序数据中删除一些东西,但这似乎也无法解决问题.
When I try to uninstall and reinstall, I get the same behavior as before. I did some googling and found some Stackoverflow questions like this (which I've since lost so can't post the link), but when I followed the solutions offered, I just get more of the same. I thought there might be something that needed to be blown away from appdata but that didn't seem to fix the issue either.
推荐答案
我正在运行Windows 10 Pro版本1703 OS Build 15063.786.我不确定Windows更新是否是引起此问题的原因.最终,所有捷径都指向不再存在的事物.我执行了以下任务.
I'm running Windows 10 Pro Version 1703 OS Build 15063.786. I'm not sure if a Windows update is what caused the issue. Ultimately, all the shortcuts were pointing to things that no longer existed. I performed the following task.
- 使用标准的Windows卸载过程卸载Anaconda.
- 重新启动.
- 搜索整个硬盘,以查找与Anaconda安装远程相关的任何内容,然后手动将其删除.我不记得所有确切的文件夹,但是我确实确实记得在C:\ Users \ Bob中,有一个.Anaconda和.IPython和.Jupyter文件.所有这些都必须走.还必须手动删除C:\ Users \ Bob \ Anaconda3,以及刚刚挂在C:\ ProgramData \ Anaconda3中但又拒绝删除的一些文件.
- 手动删除C:\ ProgramData \ Microsoft \ Windows \ Start Menu \ Programs \ Anaconda3(64位)中的快捷方式.
- 重新启动.
- 重新安装Anaconda.
- 重新启动.
一切恢复正常.特别感谢sytech.检查环境变量并没有提供解决方案,但是它使我进入了正确的调查轨道.
Everything is back to normal. Special thanks to sytech. Checking the environment variables didn't provide a solution but it put me on the right investigative track.
这篇关于Python-如何在Windows 10上完全卸载Anaconda?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!