我刚刚在conda提示符
中键入此命令安装了jupyterlabconda install -c conda-forge jupyterlab
然后我尝试打开anaconda桌面应用程序,但我无法做到。我一直收到这个错误。
Traceback (most recent call last):
File "C:\Users\Vivek\Anaconda3\lib\site-packages\psutil\_pswindows.py", line 636, in wrapper
return fun(self, *args, **kwargs)
File "C:\Users\Vivek\Anaconda3\lib\site-packages\psutil\_pswindows.py", line 706, in cmdline
ret = cext.proc_cmdline(self.pid)
PermissionError: [WinError 5] Access is denied
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\Vivek\Anaconda3\lib\site-packages\anaconda_navigator\exceptions.py", line 75, in exception_handler
return_value = func(*args, **kwargs)
File "C:\Users\Vivek\Anaconda3\lib\site-packages\anaconda_navigator\app\start.py", line 113, in start_app
if misc.load_pid() is None: # A stale lock might be around
File "C:\Users\Vivek\Anaconda3\lib\site-packages\anaconda_navigator\utils\misc.py", line 384, in load_pid
cmds = process.cmdline()
File "C:\Users\Vivek\Anaconda3\lib\site-packages\psutil\__init__.py", line 721, in cmdline
return self._proc.cmdline()
File "C:\Users\Vivek\Anaconda3\lib\site-packages\psutil\_pswindows.py", line 639, in wrapper
raise AccessDenied(self.pid, self._name)
psutil.AccessDenied: psutil.AccessDenied (pid=976)
知道为什么会这样吗?请帮我解决这个问题。
答案 0 :(得分:1)
首先,使用sudo
运行应用程序(或单击Windows计算机上的Run as Administrator
)。这可能是权限问题。
这很可能是因为您的anaconda-navigator
需要更新。这已记录在anaconda issue 1984和6006。
尝试运行以下命令来更新您的包:
conda update anaconda-navigator
如果仍然无效,请使用--reset
标志调用应用程序,如下所示:
anaconda-navigator --reset
。