在 Pycharm 中的 Jupyter Notebook 身份验证令牌 [英] Jupyter Notebook authentication token while in Pycharm

查看:145
本文介绍了在 Pycharm 中的 Jupyter Notebook 身份验证令牌的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在 Pycharm 中使用 Jupyter notebook,但我意识到在新的 Jupyter 更新中,添加了令牌.

我正在遵循以下教程,来自

我在 Jupyter 更新博客上查找了它,它说应该启动我的 Web 浏览器,这会生成一个访问令牌,但我没有看到我的浏览器在这里加载.

这里将不胜感激.

解决方案

运行 jupyter notebook list 将显示您机器上所有正在运行的服务器.因此,在 PyCharm 中启动一个单元格后在终端中执行此操作将导致输出类似于<代码>当前运行的服务器:http://127.0.0.1:8888/?token=f85145dda03dc598bbbfa6e53b93cbcb27629ea00cfd2105 ::/home/....其中包含用于身份验证的适当令牌.

I am trying to use the Jupyter notebook in Pycharm, but I realized that in the new Jupyter update, there was the addition of tokens.

I am following the tutorial below from JetBrains.

With all the settings initiated with the virtual environment created and setting the URL as 127.0.0.1:8888, however, when I click on the run cell button, it follows that I get the following message from Jupyter Notebook asking:

Please, enter your Jupyter Notebook URL and authentication token

like this:

I looked it up on the Jupyter update blog and it says that my web browser should be initiated which generates a token for access, but I do not see that my browser is loaded here.

Help would be greatly appreciated here.

解决方案

Running jupyter notebook list will display all of the running servers on your machine. So doing this in the terminal after starting a cell in PyCharm will result in output similar to Currently running servers: http://127.0.0.1:8888/?token=f85145dda03dc598bbbfa6e53b93cbcb27629ea00cfd2105 :: /home/.... which contains the appropriate token for authenticating.

这篇关于在 Pycharm 中的 Jupyter Notebook 身份验证令牌的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆