python 3.x - Newbie trying to launch browser from new environment using anacoda's training video: ERR_ACCESS_DENIED - St

I'm new and going through the training in "getting started with anaconda" training serie

I'm new and going through the training in "getting started with anaconda" training series on their learning portal. I'm on a Microsoft 10 laptop.

I'm currently working on Create a simple python program in Jupyter part on practice training module.

I created a environment called example3 and activated it. I successfully installed ipykernel and then installed conda-fe. I tried to run the code below but I don't know what it does.

C:\Windows\System32>python -m ipykernel install --user --name=example3

Finally, I launched jupyter:

(example3) C:\Windows\System32>jupyter notebook

The browser does not launch because of an access error stated below:

The file at file:///C:/Users/staci/AppData/Roaming/jupyter/runtime/jpserver-28680-open.html is not readable. It may have been removed, moved, or file permissions may be preventing access.
ERR_ACCESS_DENIED

After that, I run the prompt with administrator privileges:

(example3) C:\Windows\System32>python -m ipykernel install --user --name=example3

Then I installed kernelspec example3 in C:\Users\staci\AppData\Roaming\jupyter\kernels\example3

(example3) C:\Windows\System32>jupyter notebook
[I 2025-02-20 20:08:27.066 ServerApp] jupyter_lsp | extension was successfully linked.
[I 2025-02-20 20:08:27.074 ServerApp] jupyter_server_terminals | extension was successfully linked.
[I 2025-02-20 20:08:27.084 ServerApp] jupyterlab | extension was successfully linked.
[I 2025-02-20 20:08:27.092 ServerApp] notebook | extension was successfully linked.
[I 2025-02-20 20:08:27.688 ServerApp] notebook_shim | extension was successfully linked.
[I 2025-02-20 20:08:27.787 ServerApp] notebook_shim | extension was successfully loaded.
[I 2025-02-20 20:08:27.790 ServerApp] jupyter_lsp | extension was successfully loaded.
[I 2025-02-20 20:08:27.791 ServerApp] jupyter_server_terminals | extension was successfully loaded.
[I 2025-02-20 20:08:27.795 LabApp] JupyterLab extension loaded from C:\Users\staci\anaconda3\envs\example3\Lib\site-packages\jupyterlab
[I 2025-02-20 20:08:27.796 LabApp] JupyterLab application directory is C:\Users\staci\anaconda3\envs\example3\share\jupyter\lab
[I 2025-02-20 20:08:27.798 LabApp] Extension Manager is 'pypi'.
[I 2025-02-20 20:08:27.900 ServerApp] jupyterlab | extension was successfully loaded.
[I 2025-02-20 20:08:27.907 ServerApp] notebook | extension was successfully loaded.
[I 2025-02-20 20:08:27.911 ServerApp] The port 8888 is already in use, trying another port.
[I 2025-02-20 20:08:27.917 ServerApp] The port 8889 is already in use, trying another port.
[I 2025-02-20 20:08:27.919 ServerApp] The port 8890 is already in use, trying another port.
[I 2025-02-20 20:08:27.920 ServerApp] The port 8891 is already in use, trying another port.
[I 2025-02-20 20:08:27.921 ServerApp] The port 8892 is already in use, trying another port.
[I 2025-02-20 20:08:27.922 ServerApp] Serving notebooks from local directory: C:\Windows\System32
[I 2025-02-20 20:08:27.923 ServerApp] Jupyter Server 2.15.0 is running at:
[I 2025-02-20 20:08:27.923 ServerApp] http://localhost:8883/tree?token=93222dba01207028af240f49360ae5fa3e12342e0a47ddb8
[I 2025-02-20 20:08:27.924 ServerApp]     http://127.0.0.1:8883/tree?token=93222dba01207028af240f49360ae5fa3e12342e0a47ddb8
[I 2025-02-20 20:08:27.924 ServerApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[C 2025-02-20 20:08:27.972 ServerApp]

    To access the server, open this file in a browser:
        file:///C:/Users/staci/AppData/Roaming/jupyter/runtime/jpserver-28680-open.html
    Or copy and paste one of these URLs:
        http://localhost:8883/tree?token=93222dba01207028af240f49360ae5fa3e12342e0a47ddb8
        http://127.0.0.1:8883/tree?token=93222dba01207028af240f49360ae5fa3e12342e0a47ddb8
[I 2025-02-20 20:08:28.107 ServerApp] Skipped non-installed server(s): bash-language-server, dockerfile-language-server-nodejs, javascript-typescript-langserver, jedi-language-server, julia-language-server, pyright, python-language-server, python-lsp-server, r-languageserver, sql-language-server, texlab, typescript-language-server, unified-language-server, vscode-css-languageserver-bin, vscode-html-languageserver-bin, vscode-json-languageserver-bin, yaml-language-server

I try to cut and paste the links provided into my browser and I still get ACCESS_DENIED error. What should I do?

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745172113a4614988.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信