简体   繁体   English

安装 Anaconda 后,Jupyter notebook 和 Anaconda Navigator 不显示

[英]Jupyter notebook and Anaconda Navigator does not show after installing Anaconda

After installing Anaconda3 I tried to search in my start menu for Anaconda Navigator but it just doesn't show.安装 Anaconda3 后,我尝试在开始菜单中搜索 Anaconda Navigator,但它没有显示。 All I get when typing Anaconda in my start menu is Anaconda Prompt, I have tried to launch jupyter notebook from the Anaconda Prompt but it says that "jupyter n'est pas reconnu en tant que commande interne ou externe", and it's the same for Anaconda Navigator.在我的开始菜单中输入 Anaconda 时,我得到的只是 Anaconda Prompt,我尝试从 Anaconda Prompt 启动 jupyter notebook,但它说“jupyter n'est pas reconnu en tant que commande interne ou externe”,这与以下内容相同蟒蛇导航器。

I want to add that I select the case that add Anaconda to the Path and I have installed miniconda too and I didn't have any error message while installing.我想补充一点,我选择了将 Anaconda 添加到 Path 的情况,并且我也安装了 miniconda,并且在安装时没有任何错误消息。

Yes I was having the same issues after installing Anaconda3-5.2.0-Windows-x86_64 on Windows 10. Though my previous install of Python 3.6.5 was working quite well.是的,我在 Windows 10 上安装 Anaconda3-5.2.0-Windows-x86_64 后遇到了同样的问题。虽然我之前安装的 Python 3.6.5 运行良好。 A possible workaround - which worked for me beautifully - is to uninstall the Anaconda3-5.2.0 and install an old version.一种可能的解决方法 - 对我来说效果很好 - 是卸载 Anaconda3-5.2.0 并安装旧版本。

Try Anaconda3-4.0.1 as I did from https://repo.continuum.io/archive/像我从https://repo.continuum.io/archive/一样尝试 Anaconda3-4.0.1

While installing just accept all the defaults.安装时只接受所有默认值。 Confirm that the Navigator is installed from the Start Menu or launch from command prompt with this command:确认 Navigator 是从“开始”菜单安装的,或者使用以下命令从命令提示符启动:

anaconda-navigator

Once you are sure it is running - close and again from command prompt update to current version with:一旦确定它正在运行 - 关闭并再次从命令提示符更新到当前版本:

conda update --all

Then:然后:

conda update anaconda

You should now be good to go!你现在应该可以开始了!

I tried an old version of Anaconda exactly Anaconda3-4.0.1 and it works.我尝试了一个旧版本的 Anaconda,正好是 Anaconda3-4.0.1,它工作正常。 Now I have my Anaconda Navigator and can launch jupyter notebook.现在我有了 Anaconda Navigator 并且可以启动 jupyter notebook。

This problem also happened to me under Ubuntu 16.04 LTS.这个问题在 Ubuntu 16.04 LTS 下也发生在我身上。

I solved my problem by changing my BASHRC file (~/.bashrc).我通过更改 BASHRC 文件 (~/.bashrc) 解决了我的问题。 In this file, there is one line added by Anaconda installer: export PATH="/home/mustafa1/anaconda3/bin:$PATH" # commented out by conda initialize I just removed the # sign to make it work (of course I typed "source ~/.bashrc"), now I can see everything.在此文件中,Anaconda 安装程序添加了一行: export PATH="/home/mustafa1/anaconda3/bin:$PATH" # conda initialize 注释掉我刚刚删除了 # 符号以使其工作(当然我输入了"source ~/.bashrc"),现在我可以看到一切。 I can use jupyter-notebook and anaconda-navigator.我可以使用 jupyter-notebook 和 anaconda-navigator。

Thus, my problem was a PATH issue.因此,我的问题是 PATH 问题。 I think it is important where you install your anaconda.我认为安装 anaconda 的位置很重要。

i solved my problem by del .condarc file.我通过 del .condarc 文件解决了我的问题。 And restart Navigator.并重新启动导航器。 That's ok.没关系。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM