python - 访问被拒绝运行 Jupyter Notebook (Anaconda)
问题描述
我正在尝试从 ac:\jupyter 子目录在 Windows 10 上运行 Jupyter 笔记本时出现“访问被拒绝”。
我已经重新安装了 Anaconda,但使用公司流程进行软件安装,我认为我的原始安装可能是使用软件下载器手动完成的。
奇怪的是,如果我激活了一个特定的 conda 环境——那么突然间我就可以从那个文件夹启动笔记本了。
(base) C:\jupyter>jupyter notebook
Access is denied.
(base) C:\jupyter>activate ariel
(ariel) C:\jupyter>jupyter notebook
[I 15:11:13.191 NotebookApp] JupyterLab extension loaded from C:\ProgramData\Anaconda3\envs\ariel\lib\site-packages\jupyterlab
[I 15:11:13.191 NotebookApp] JupyterLab application directory is C:\ProgramData\Anaconda3\envs\ariel\share\jupyter\lab
[I 15:11:13.671 NotebookApp] Serving notebooks from local directory: C:\jupyter
[I 15:11:13.671 NotebookApp] The Jupyter Notebook is running at:
[I 15:11:13.671 NotebookApp] http://localhost:8888/?token=01701eceb8e6938d4983f553eb276a4e1ff69ea970824ea6
[I 15:11:13.671 NotebookApp] or http://127.0.0.1:8888/?token=01701eceb8e6938d4983f553eb276a4e1ff69ea970824ea6
[I 15:11:13.671 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[C 15:11:14.281 NotebookApp]
To access the notebook, open this file in a browser:
file:///C:/Users/MP9293Q/AppData/Roaming/jupyter/runtime/nbserver-3548-open.html
Or copy and paste one of these URLs:
http://localhost:8888/?token=01701eceb8e6938d4983f553eb276a4e1ff69ea970824ea6
or http://127.0.0.1:8888/?token=01701eceb8e6938d4983f553eb276a4e1ff69ea970824ea6
解决方案
推荐阅读
- unity3d - 我如何获取和渲染 sprite 表单 dataPath?
- java - 有没有办法将Extra放入对话框
- r - 在 R 中过滤日期
- java - 页面未调整大小/向其他用户显示不同的问题
- python - 导入 Sklearn 时出现错误
- r - 为什么在 mapply 的 MoreArgs 参数中进行变量赋值与在其“...”参数中进行变量赋值给出不同的结果?
- python - 用于监控 github repos 更改的 Python 看门狗
- ruby - 无法使用 Rails / Vue / Nginx / Puma 正确配置 WebSocket
- fonts - 热制作字体的粗体版本(.ttf / .otf 格式)
- amazon-web-services - 将 AWS ECS 与 EC2 实例结合使用时出现 CannotStartContainerError