Dar*_*eam 13 anaconda conda jupyter-lab
我最近重置了我的笔记本电脑并在其中安装了 anaconda,我尝试打开 jupyter 实验室但它给了我错误Error executing Jupyter command 'lab': [WinError 5] Access is denied但是当我尝试打开 JUPYTER NOTEBOOK 或尝试使用 anaconda 以管理员身份打开 JUPYTER LAB 时它工作正常我重新安装了 anaconda 并且仍然它给了我同样的错误,当我尝试从 anaconda 导航器打开 JUPYTER LAB 时,它也给我同样的错误,在我的笔记本电脑休息之前,它对我来说工作正常,但现在不是。在问这里之前,我尝试在网上搜索我的查询,但没有得到我的答案。
我想在正常的 anaconda 提示符下运行 JUPYTER LAB
额外细节
-My anaconda is installed in C:\ProgramData (by default)
-I didn't check the box "add to path" while installing anaconda
Run Code Online (Sandbox Code Playgroud)
And*_*rew 18
你可以用 Python 运行它:
python -m jupyterlab
这应该在 Anaconda Prompt 甚至命令提示符下工作(如果它在 Anaconda 中使用 Python)。
Dar*_*eam 17
最后,我找到了解决此问题的方法,步骤如下
step1: open your anaconda navigator
step2: click on jupyter lab setting option and then remove it
step2: Now open your anaconda prompt and type the following command "conda install -c conda-forge jupyterlab"
Run Code Online (Sandbox Code Playgroud)
现在尝试打开它
通常,打开命令不会出现错误jupyter notebook。
我通常在资源管理器的路径栏中输入jupyter notebook,直接从该路径打开笔记本 \xe2\x80\x94 但由于我们在 jupyter 实验室中遇到错误,我只能从那里打开 jupyter 笔记本。
解决方案是:
\njupyter notebook只需照常在命令提示符或资源管理器的路径栏中键入即可。
浏览器自动打开后,立即将 URL 更改为:
\nhttp://localhost:8888/tree到\xe2\x86\x92http://localhost:8888/lab
小智 6
尝试以管理员身份执行。问题解决了。
这种解决方案是不安全的。当您使用 Admin 执行程序时,该程序对系统具有完全权限。
好的解决方案是使用您当前的系统用户(不是 root/admin)创建一个新环境。激活这个新环境,它会起作用