我为atom
from here安装了jupyter package
和atom
。现在,如果我从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"
]
},
我错过了什么吗?如何在jupyter notebook
中正确地将导航器atom
正确打开?
答案 0 :(得分:8)
它甚至不是旧笔记本。我刚刚安装了python(3.6.3)和jupyter(4.3.0),通过Jupyter笔记本CLI(nteract)创建了几个笔记本,但是当我尝试在atom中打开它们时,我也得到了一个JSON版本。
经过一番研究后,我了解到氢气只是使用 jupyter来启用纯文本文件中的内联代码执行(例如
sqoop import \
-Dmapred.job.name='sqoop sequencefile' \
--connect jdbc:mysql://ms.itversity.com:3306/retail_db \
--username retail_user \
--password itversity \
--table orders --target-dir /user/mamatucci/sqoop/orders/as-sequencefile \
-m 2 \
--delete-target-dir \
--as-sequencefile
和.py
) , 实际上不支持.R
个文件,更重要的是 维护者没有计划或希望支持.ipynb
的引用:
- https://github.com/nteract/hydrogen/issues/75
- https://github.com/nteract/hydrogen/issues/1154