在Pycharm中进行Jupyter Notebook身份验证令牌 [英] Jupyter Notebook authentication token while in Pycharm
问题描述
我试图在Pycharm中使用Jupyter笔记本,但是我意识到在新的Jupyter更新中,添加了令牌.
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.
我正在从使用虚拟环境启动的所有设置均已创建,并将URL设置为127.0.0.1:8888
,但是,当我单击运行单元格"按钮时,随之而来的是我从Jupyter Notebook收到以下消息,询问:
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:
请输入您的Jupyter Notebook URL和身份验证令牌
Please, enter your Jupyter Notebook URL and authentication token
像这样:
我在Jupyter更新博客上查找了它,并说应该启动我的Web浏览器,该Web浏览器生成用于访问的令牌,但是我没有看到我的浏览器已加载到此处.
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.
推荐答案
正在运行的jupyter notebook list
将显示计算机上所有正在运行的服务器.因此,在PyCharm中启动单元后,在终端中执行此操作将导致输出类似于
Currently running servers:
http://127.0.0.1:8888/?token=f85145dda03dc598bbbfa6e53b93cbcb27629ea00cfd2105 :: /home/....
其中包含用于身份验证的适当令牌.
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屋!