不可读的笔记本:Pycharm中的/home/kerwin/test2/test.ipynb AttributeError(' metadata',)

时间:2016-08-31 07:36:58

标签: pycharm jupyter-notebook

我想使用Jupyter笔记本进行数据分析。当我遵循由jetbrains提供的指南:Tutorial: Using IPython/Jupyter Notebook with PyCharm 1.我的工作环境是Ubunutu我已安装所有包装: anaconda和jupyter
当我只是测试它时:
```蟒

In[]: print 'hello world!'

``` 有一些错误:

[W 23:13:33.681 NotebookApp] Unrecognized JSON config file version, assuming version 1
[E 23:13:33.690 NotebookApp] [nb_conda_kernels] couldn't call conda:
    [Errno 2] No such file or directory
[I 23:13:33.691 NotebookApp] [nb_conda_kernels] enabled, 0 kernels found
[I 23:13:34.381 NotebookApp] ✓ nbpresent HTML export ENABLED
[W 23:13:34.382 NotebookApp] ✗ nbpresent PDF export DISABLED: No module named nbbrowserpdf.exporters.pdf
[I 23:13:34.385 NotebookApp] [nb_conda] enabled
[I 23:13:34.598 NotebookApp] [nb_anacondacloud] enabled
[I 23:13:34.612 NotebookApp] Serving notebooks from local directory: /home/kerwin/test2
[I 23:13:34.613 NotebookApp] 0 active kernels 
[I 23:13:34.613 NotebookApp] The Jupyter Notebook is running at: http://127.0.0.1:8888/
[I 23:13:34.613 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[I 23:13:35.433 NotebookApp] Kernel started: 19c9b3d5-1c14-4487-bed0-aa351295467a
[W 23:13:35.464 NotebookApp] No session ID specified

Althoungh它的内容在http://127.0.0.1:8888/,但它只是说:Unreadable Notebook: /home/kerwin/test2/test.ipynb AttributeError('metadata',)

在我尝试之前:
```

conda update nb_conda nb_conda_kernels nb_anacondacloud

``` 但仍有问题。

你能帮帮我吗?谢谢!

1 个答案:

答案 0 :(得分:3)

我有同样的问题。在Pycharm上编辑后,您应该使用保存和结帐。然后跑。