报错:
Traceback (most recent call last): File “E:\Program Files\Anaconda\lib\sitepackages\psutil_pswindows.py”, line 620, in wrapperreturn fun(self, *args, **kwargs)File”E:\Program Files\Anaconda\lib\site-packages\psutil_pswindows.py”, line 690, in cmdlineret = cext.proc_cmdline(self.pid)PermissionError: [WinError 5] 拒绝访问。During handling of the above exception, another exception occurred:
Traceback (most recent call last):File “D:\Program Files\Anaconda\lib\site-packages\anaconda_navigator\exceptions.py”, line 75, in exception_handlerreturn_value = func(*args, **kwargs)
packages\anaconda_navigator\app\start.py”, line 108, in start_appif misc.load_pid() is None: # A stale lock might be aroundFile “D:\Program Files\Anaconda\lib\site-packages\anaconda_navigator\utils\misc.py”, line 384, in load_pidcmds = process.cmdline()File “D:\Program Files\Anaconda\lib\site-packages\psutil__init__.py”, line 701, in cmdlinereturn self._proc.cmdline()File “D:\Program Files\Anaconda\lib\site-packages\psutil_pswindows.py”, line 623, in wrapperraise AccessDenied(self.pid, self._name)psutil.AccessDenied: psutil.AccessDenied (pid=1128)Windows下:
1)使用管理员运行:conda prompt
2)执行命令
conda update anaconda-navigator
1注意: 如果安装之前卸载过anaconda 就在 conda prompt 里用下面的命令:anaconda-navigator --reset
--------------------- 原作者:共觞 原文:https://blog.csdn.net/qq_32811489/article/details/78220040