Anaconda can't open the anaconda navigator
重装了很多次 刚开始只是打开acaconda navigator无反应,最后重装了好几次 还出现了 ImportError: DLL load failed while importing shell: Can not find procedure.
的报错提示
最后找到解决方案,以下是我查找解决方法的路径
-
首先我在官方网站上找到了解决方案官方网站
它提示我首先找到.condarc
文件然后删除(windows位置C://Users//)
我找到后删除,然后启动anaconda navigator,仍然无反应,于是再次卸载重装。 -
然后再尝试使用官方的第二个方法
If removing the licenses directory does not resolve the issue, manually >update Navigator from a terminal or an Anaconda Prompt:
conda update anaconda-navigator
发现提示
ImportError: DLL load failed while importing shell: Can not find procedure.
错误,也尝试了许多其他的命令比如conda info
等也是同样的报错提示,于是转为搜索这个错误信息。 -
在这个错误信息的搜索结果下我找到了github中一个关于这个的issue并且在后续的讨论中找到了这样一个回答:
I also got the same error using the very latest version of Mini-conda (conda >version: 4.12.0, python version: 3.9.12.final.0. when I ran the
command:
conda info fails with the errors above
but
conda list works
I did the "pip install --upgrade pywin32==228"
and now
conda info succeeds.
I wonder if its the latest version of mini-conda that has this problem于是我按照他的方法
pip install --upgrade pywin32==228
之后,命令行中有红色的报错提示,但是conda命令已经可以执行了,于是我在使用官方的解决方法:conda update anaconda-navigator
,最后问题成功解决,Anaconda navigator可以正常打开了。