日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

Failed to create Anaconda Menus

發(fā)布時間:2024/3/13 编程问答 31 豆豆
生活随笔 收集整理的這篇文章主要介紹了 Failed to create Anaconda Menus 小編覺得挺不錯的,現(xiàn)在分享給大家,幫大家做個參考.

探索的終點將是開始時的起點
– 艾略特

因為要用到spark,卸載了原來的Anaconda,重新下載了Anaconda3-4.2.0-Windows-x86_64,我是Windows10系統(tǒng) 64bit,安裝版本如下:

安裝過程很簡單,一直next即可,可參考:win安裝anaconda3詳細過程

#問題描述:
安裝到最后,彈出了"Failed to create Anaconda menus"窗口,點擊忽略,安裝結束后發(fā)現(xiàn)Anaconda(安裝目錄)下文件不足,而且點開開始菜單后,“最近添加”下面,沒有Anaconda3文件夾,當然“親切的”“Spyder”、“Jupyter Notebook”等圖標也不見了…

#解決方案:
先自己探索了一會,無果,本著大眾心態(tài),相信我不是第一個遇到這樣問題的人,網搜后,果然~~~

###1、Anacoda 開發(fā)人員給出的建議:
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、總結解決方案

  • 安裝路徑中不能包含中文字符,不能數(shù)字開頭(查看自己的 目錄名字)
  • 系統(tǒng)相對路徑過長,修改路徑放在盤的根目錄下
  • 使用默認安裝路徑,不適用自定義路徑
  • 安裝時選擇All users,而不是默認的 Just Me
  • 我的電腦->屬性->高級系統(tǒng)設置->環(huán)境變量-> 刪除JAVA_HOME,以及PATH (注意提前保存path內容,安裝完anaconda后,需要重新添加path)
  • 重裝操作系統(tǒng)
    #總結
    不同情況不同的解決方案,無法保證哪一個有效,最好在解決方案中依次排查嘗試。
    博主采用了5&4解決:先采用了5.刪除了JAVA_HOME以及PATH(這里要注意提前備份你的PATH內容,安裝完anaconda后再修改你的PATH),然后重新安裝anaconda采用4,修改如下默認的Just Me選擇All Users
  • 點擊 開始菜單 熟悉的圖標出現(xiàn)了:

    總結

    以上是生活随笔為你收集整理的Failed to create Anaconda Menus的全部內容,希望文章能夠幫你解決所遇到的問題。

    如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。