首页 > 解决方案 > 访问被拒绝运行 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

标签: pythonjupyter-notebookanaconda

解决方案


推荐阅读