Failed to create Anaconda Menus

探索的终点将是开始时的起点
– 艾略特

因为要用到spark,卸载了原来的Anaconda,重新下载了Anaconda3-4.2.0-Windows-x86_64,我是Windows10系统 64bit,安装版本如下:
这里写图片描述

安装过程很简单,一直next即可,可参考:win安装anaconda3详细过程

问题描述:

安装到最后,弹出了”Failed to create Anaconda menus”窗口,点击忽略,安装结束后发现Anaconda(安装目录)下文件不足,而且点开开始菜单后,“最近添加”下面,没有Anaconda3文件夹,当然“亲切的”“Spyder”、“Jupyter Notebook”等图标也不见了……

解决方案:

先自己探索了一会,无果,本着大众心态,相信我不是第一个遇到这样问题的人,网搜后,果然~~~

1、Anacoda 开发人员给出的建议:

Hi,

The menu error may come up due to a bug caused by a strange windows race condition. We have fixed that, but have not yet released a new anaconda installer. The other errors are not registered to that, though, so it might be something what behind this.

There are a few things to try:

  • Installing as a user instead of system wide may avoid the issue.

  • Since the files are all there, you can get the updated menu installer, and reinstall menu packages:

conda update menuinst
conda install -f console_shortcut ipython ipython-notebook ipython-qtconsole launcher spyder

  • The errors might happen if PATH is too long already. How long is your PATH environment variable? Windows limits this to 1024 characters in batch scripts. There are some workarounds go shorten it here: How do you avoid over-populating the PATH Environment Variable in Windows?

Hth,
Michael

知乎上看到的
链接:https://www.zhihu.com/question/42263480/answer/94211628

2、GitHub

GitHub-anaconda-issues

3、总结解决方案

  1. 安装路径中不能包含中文字符(查看自己的 目录名字)
  2. 系统相对路径过长,修改路径放在盘的根目录下
  3. 使用默认安装路径,不适用自定义路径
  4. 安装时选择All users,而不是默认的 Just Me
  5. 我的电脑->属性->高级系统设置->环境变量-> 删除JAVA_HOME,以及PATH (注意提前保存path内容,安装完anaconda后,需要重新添加path)
  6. 重装操作系统

总结

不同情况不同的解决方案,无法保证哪一个有效,最好在解决方案中依次排查尝试。
博主采用了5&4解决:先采用了5.删除了JAVA_HOME以及PATH(这里要注意提前备份你的PATH内容,安装完anaconda后再修改你的PATH),然后重新安装anaconda采用4,修改如下默认的Just Me选择All Users
Failed to create Anaconda Menus_第1张图片

点击 开始菜单 熟悉的图标出现了:
Failed to create Anaconda Menus_第2张图片

你可能感兴趣的:(Failed to create Anaconda Menus)