我是编程新手,并在几个月前开始学习Python。 我安装了Anaconda并在Spyder上工作。这工作得很好。
但是几周之后,Anaconda就再也没有了。
我在网上找到了一个重置配置的解决方案:
anaconda navigator --reset
工作得很好但只是24小时左右。第二天,Anaconda拒绝重新开始,所以我很困惑。
我是否已安装的软件包(psutil)使我的配置不稳定,如何修复该plz? 这是启动时的消息:
Navigator Start Up Error
psutil.AccessDenied (pid=533)
>Traceback (most recent call last):
File "/Users/yannickleroux/anaconda/lib/python3.6/site-packages/psutil/_psosx.py", line 293, in wrapper
return fun(self, *args, **kwargs)
File "/Users/yannickleroux/anaconda/lib/python3.6/site-packages/psutil/_psosx.py", line 356, in cmdline
return cext.proc_cmdline(self.pid)
PermissionError: [Errno 13] Permission denied
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/yannickleroux/anaconda/lib/python3.6/site-packages/anaconda_navigator/exceptions.py", line 75, in exception_handler
return_value = func(*args, **kwargs)
File "/Users/yannickleroux/anaconda/lib/python3.6/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 "/Users/yannickleroux/anaconda/lib/python3.6/site-packages/anaconda_navigator/utils/misc.py", line 384, in load_pid
cmds = process.cmdline()
File "/Users/yannickleroux/anaconda/lib/python3.6/site-packages/psutil/__init__.py", line 701, in cmdline
return self._proc.cmdline()
File "/Users/yannickleroux/anaconda/lib/python3.6/site-packages/psutil/_psosx.py", line 306, in wrapper
raise AccessDenied(self.pid, self._name)
psutil.AccessDenied: psutil.AccessDenied (pid=533)
答案 0 :(得分:0)
请更新 anaconda导航器:
conda update anaconda-navigator
conda update navigator-updater