Navigator启动时发生意外错误

Navigator启动时发生意外错误

本文介绍了Anaconda:Navigator启动时发生意外错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经安装了Anaconda,我设法启动它,然后使用R或python,今天我再也无法启动它,并且出现此错误(在管理员模式下运行该软件时,我也遇到相同的错误)

I had installed Anaconda, I had managed to launch it and then use R or python, and today I can no longer launch it and I get this error (I get the same error when I run the software in administrator mode)

An unexpected error ocurred on Navigator start-up
psutil.AccesDenied(pid=5740)

Traceback (most recent call last):
File "C:\Users\user\Anaconda3\lib\site-packages\psutil\_pswindows.py", line 620, in wrapper
return fun(self, *args, **kwargs)
File "C:\Users\user\Anaconda3\lib\site-packages\psutil\_pswindows.py", line 690, in cmdline
ret = cext.proc_cmdline(self.pid)
PermissionError: [WinError 5] Access Denied

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "C:\Users\user\Anaconda3\lib\site-packages\anaconda_navigator\exceptions.py", line 75, in exception_handler
return_value = func(*args, **kwargs)
File "C:\Users\user\Anaconda3\lib\site-packages\anaconda_navigator\app\start.py", line 108, in start_app
if misc.load_pid() is None: # A stale lock might be around
File "C:\Users\user\Anaconda3\lib\site-packages\anaconda_navigator\utils\misc.py", line 384, in load_pid
cmds = process.cmdline()
File "C:\Users\user\Anaconda3\lib\site-packages\psutil\__init__.py", line 701, in cmdline
return self._proc.cmdline()
File "C:\Users\user\Anaconda3\lib\site-packages\psutil\_pswindows.py", line 623, in wrapper
raise AccessDenied(self.pid, self._name)
psutil.AccessDenied: psutil.AccessDenied (pid=5740)

推荐答案

我在win10 x64(python3.x)中使用了蟒蛇,今天早上我也遇到了这个问题.在anaconda中所做的所有事情是,我安装了一个名为pywinauto的软件包,然后我关闭了计算机,然后回家了.

I use the anaconda in win10 x64 (python3.x) and I got this problem this morning as well. All the things had been done in anaconda was that I installed a package called pywinauto, then I turned off the computer and went home.

我遵循 https://的建议lan的groups.google.com/a/continuum.io/forum/#!topic/anaconda/4hBTDOcDzgo ,我使用命令更新了anaconda.

I follow the suggestion from https://groups.google.com/a/continuum.io/forum/#!topic/anaconda/4hBTDOcDzgo by lan, I update the anaconda by using the command.

conda update anaconda-navigator

但是,错误发生的相同.

However, the error occurred the same.

然后,我重新启动计算机并重新启动蟒蛇,发生了神奇的事情!水蟒工作正常!

Then I reboot the computer and restart the anaconda, magic thing happens! the anaconda works fine!

我认为安装新软件包时可能已对某些配置进行了更改,并且此更改与您需要重新启动计算机以对其进行修复的当前配置相冲突.您应注意,关闭计算机然后重新启动它不等于重新启动计算机.

I think maybe some configuration has been changed when I install the new package, and this change is conflicted with the current configuration which you need to reboot the computer to fix it. you should note that turn off computer then restart it is not equal to reboot it.

因此,只需重启计算机即可.

So, just reboot the computer and it will be fine.

这篇关于Anaconda:Navigator启动时发生意外错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-24 11:56