运行 带有原子的 jupyter ipynb

Running jupyter ipynb with atom

我为 atom from here 安装了 atomjupyter package。现在,如果我从 atom 打开旧的 ipython 笔记本,它不会将其显示为笔记本。这是旧笔记本在 atom

中的样子
{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": 2,
   "metadata": {
    "collapsed": false
   },
   "outputs": [],
   "source": [
    "#importing all the libraries\n",
    "import numpy as np\n",
    "import pandas as pd\n",
    "import sys \n",
    "sys.path.append(\"/Users/myname/Documents/things")\n",
    "import quadedge as qd\n",
    "sys.path.append(\"/Users/myname/Documents/otherthings\")\n",
    "import latdevcode as latdev\n",
    "import cendevcode as latgen\n",
    "import matplotlib.pyplot as plt"
   ]
  },   

我错过了什么吗?如何让导航器直接在 atom 中正确打开 jupyter notebook

它甚至不是旧笔记本。我刚刚安装了 python (3.6.3) 和 jupyter (4.3.0),通过 Jupyter notebook CLI (nteract) 创建了几个笔记本,但是当我尝试在 atom 中打开它们时,我也得到了一个 JSON版本。

经过大量研究,我了解到 Hydrogen 只是 使用 jupyter 在纯文本文件中启用内联代码执行(例如 .py.R),它 实际上支持 .ipynb 文件,更重要的是 维护者没有计划或希望支持 .ipynb.

参考文献:
- https://github.com/nteract/hydrogen/issues/75
- https://github.com/nteract/hydrogen/issues/1154