Anaconda Navigator 无法打开 - 已尝试所有其他线程

2022-01-10 00:00:00 python conda anaconda

问题描述

上周卸载了 Anaconda Navigator,现在重新安装后它就无法工作了.

Windows 搜索没有找到 anaconda 导航器程序,但在 C:UsersadminAnaconda3pkgsanaconda-navigator-1.9.2-py37_0Scripts 中,有一个 anaconda 导航器应用程序.当我打开它时,命令提示框会在 0.5 秒内闪烁并消失.

C:Usersadmin>conda

返回'其中不是可识别的内部或外部命令'

conda update 与所有其他conda"调用具有相同的响应

已多次卸载并勾选(也未勾选)PATH 选项,但均未成功.还尝试在高级部分清除 PATH.

基本上,我已经尝试了关于 SO 的所有其他建议,但找不到任何可行的方法.

在命令提示符下调用 python 也可以工作 - 所以 python 可以工作,但没有任何 anaconda 选项,包括 spyder、jupyter 等(RStudio 确实在我的电脑上工作)

干杯

解决方案

昨天发生在我身上的确切事情.

  1. 卸载新安装的 anaconda.
  2. 删除计算机上的所有 conda、anaconda 文件和文件夹.(它们位于 C:UsersC:UsersC:用户<您的用户名>AppdataRoaming 文件夹).
  3. 重新启动您的计算机.
  4. 下载适当的 Miniconda 安装程序.

<块引用>

修复在最新的 Miniconda 安装程序中:

64 位:
https://repo.continuum.io/miniconda/Miniconda3-latest-Windows-x86_64.exe

https://repo.continuum.io/miniconda/Miniconda2-latest-Windows-x86_64.exe

32 位:

https://repo.continuum.io/miniconda/Miniconda3-latest-Windows-x86.exe

https://repo.continuum.io/miniconda/Miniconda2-latest-Windows-x86.exe

来源

  1. 使用建议的设置进行安装.
  2. 运行开始菜单快捷方式Anaconda Prompt.
  3. 执行命令conda install anaconda anaconda-navigator.

希望这能解决你的问题(它解决了我的问题).

我建议不要在您的 PATH 中使用 Anaconda,因为它被设计为在环境内运行,而让它单独运行(在环境外)可能会搞砸.

Uninstalled Anaconda Navigator last week and now it wont work once I've reinstalled it.

Windows search doesn't find an anaconda navigator program but in C:UsersadminAnaconda3pkgsanaconda-navigator-1.9.2-py37_0Scripts, there is a anaconda navigator application. When i open this, a command prompt box flashes and vanishes within 0.5 secs.

C:Usersadmin>where conda

Returns 'where is not a recognized internal or external command'

conda update has same response as well as all other 'conda' calls

Have uninstalled and ticked (and also unticked) the PATH option numerous times for both and hasn't worked. Have also tried clearing the PATH in the advanced section.

Basically, I've tried all the other suggestions on SO and cant find anything which works.

Edit: Calling python in the command prompt does work too - so python works but none of the anaconda options including spyder, jupyter etc etc. (RStudio does work in my computer though)

Cheers

解决方案

The exact thing happened to me the yesterday.

  1. Uninstall the new anaconda installation.
  2. Delete all the conda, anaconda files and folders on your computer. (They are located inside the C:Users<yourusername>, C:Users<yourusername>AppdataLocal and C:Users<yourusername>AppdataRoaming folders).
  3. Restart your computer.
  4. Download the appropriate Miniconda installer.

The fix is in the latest Miniconda installers:

64-bit:
https://repo.continuum.io/miniconda/Miniconda3-latest-Windows-x86_64.exe

https://repo.continuum.io/miniconda/Miniconda2-latest-Windows-x86_64.exe

32-bit:

https://repo.continuum.io/miniconda/Miniconda3-latest-Windows-x86.exe

https://repo.continuum.io/miniconda/Miniconda2-latest-Windows-x86.exe

source

  1. Install it using the suggested settings.
  2. Run the start menu shorcut Anaconda Prompt.
  3. Execute the command conda install anaconda anaconda-navigator.

Hopefully this will solve your issues (it solved mine).

I would suggest against having Anaconda in your PATH because it is designed to run inside an environment and having it run separately (outside the environment) might mess things up.

相关文章