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

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
這裏寫圖片描述

點擊 開始菜單 熟悉的圖標出現了:
這裏寫圖片描述

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章