【发布时间】:2021-01-02 10:41:45
【问题描述】:
我正在尝试在 Pycharm 上使用 jupyter notebook。
在this article 之后,我运行了一个简单的 Hello World 代码,但没有任何显示。
我得到了一些这样的日志。
/home/ryuzot/anaconda3/envs/keras_playground2/bin/jupyter notebook --no-browser --port 8888
[I 00:52:46.955 NotebookApp] Serving notebooks from local directory:
/home/ryuzot/PycharmProjects/keras_playground
[I 00:52:46.955 NotebookApp] Jupyter Notebook 6.1.1 is running at:
[I 00:52:46.955 NotebookApp] http://localhost:8888/?
token=45771778a508593eb6b45db8b13b2661daea7a4b709846d6
[I 00:52:46.955 NotebookApp] or http://127.0.0.1:8888/?
token=45771778a508593eb6b45db8b13b2661daea7a4b709846d6
[I 00:52:46.955 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[C 00:52:46.957 NotebookApp]
To access the notebook, open this file in a browser:
file:///home/ryuzot/.local/share/jupyter/runtime/nbserver-13870-open.html
Or copy and paste one of these URLs:
http://localhost:8888/?token=45771778a508593eb6b45db8b13b2661daea7a4b709846d6
or http://127.0.0.1:8888/?token=45771778a508593eb6b45db8b13b2661daea7a4b709846d6
我把jupyter运行的端口改成了8888和8080,但是还是不行。
我在 openSUSE 15.2 上使用 Pycharm 专业版 2020.2、Jupyter Notebook 6.1.1、Python 3.7。
我希望能得到一些帮助。
【问题讨论】:
标签: python jupyter-notebook pycharm jupyter