gpt4 book ai didi

python - Jupyter lab提示token;我怎么找到它?

转载 作者:行者123 更新时间:2023-12-05 04:53:01 25 4
gpt4 key购买 nike

我有 Anaconda 并且刚刚开始 Jupyter 实验室。系统提示我输入我的 token 或密码,但我不知道我的 token 是什么。我有 token 吗?如果有,我能找到吗?如果是,怎么办?

这是我得到的输出:

[I 2021-02-18 00:38:55.875 ServerApp] jupyterlab | extension was successfully linked.
[W 2021-02-18 00:38:55.881 NotebookApp] 'browser' has moved from NotebookApp to ServerApp. This config will be passed to ServerApp. Be sure to update your config before our next release.
[W 2021-02-18 00:38:55.881 NotebookApp] 'notebook_dir' has moved from NotebookApp to ServerApp. This config will be passed to ServerApp. Be sure to update your config before our next release.
[W 2021-02-18 00:38:55.881 NotebookApp] 'password' has moved from NotebookApp to ServerApp. This config will be passed to ServerApp. Be sure to update your config before our next release.
[W 2021-02-18 00:38:55.887 ServerApp] notebook_dir is deprecated, use root_dir
[W 2021-02-18 00:38:55.896 ServerApp] The 'min_open_files_limit' trait of a ServerApp instance expected an int, not the NoneType None.
[I 2021-02-18 00:38:55.937 ServerApp] The port 8888 is already in use, trying another port.
[I 2021-02-18 00:38:55.938 ServerApp] The port 8889 is already in use, trying another port.
[I 2021-02-18 00:38:55.939 ServerApp] The port 8890 is already in use, trying another port.
[I 2021-02-18 00:38:55.939 ServerApp] The port 8891 is already in use, trying another port.
[I 2021-02-18 00:38:55.962 LabApp] JupyterLab extension loaded from C:\ProgramData\Anaconda3\lib\site-packages\jupyterlab
[I 2021-02-18 00:38:55.962 LabApp] JupyterLab application directory is C:\ProgramData\Anaconda3\share\jupyter\lab
[I 2021-02-18 00:38:55.965 ServerApp] jupyterlab | extension was successfully loaded.
[I 2021-02-18 00:38:56.457 ServerApp] nbclassic | extension was successfully loaded.
[I 2021-02-18 00:38:56.457 ServerApp] Serving notebooks from local directory: //...My Documents/Notebooks
[I 2021-02-18 00:38:56.457 ServerApp] Jupyter Server 1.3.0 is running at:
[I 2021-02-18 00:38:56.458 ServerApp] http://localhost:8892/lab
[I 2021-02-18 00:38:56.458 ServerApp] or http://127.0.0.1:8892/lab
[I 2021-02-18 00:38:56.458 ServerApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[I 2021-02-18 00:38:58.987 LabApp] 302 GET /lab (127.0.0.1) 1.00ms

最佳答案

您可以找到 ~/.jupyter 目录,这应该是您的主目录。看起来您已经配置了密码(替换了 token ),因此输出不包含 token :

[W 2021-02-18 00:38:55.881 NotebookApp] 'password' has moved from NotebookApp to ServerApp. This config will be passed to ServerApp. Be sure to update your config before our next release.

阅读更多 notebook token documentation记得关注the migration guide .使用jupyter notebook password命令修改密码。

关于python - Jupyter lab提示token;我怎么找到它?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/66254854/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com