I installed atom
and jupyter package
for atom
from here. Now if I open old ipython notebooks from atom
it does not display it as notebook. Here is what old piece of notebook looks like in 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"
]
},
Am i missing something? How can I make the navigator directly open jupyter notebook
in atom
and properly?
It's not even old notebooks. I just installed python (3.6.3) and jupyter (4.3.0), created a couple notebooks via the Jupyter notebook CLI (nteract), but when I tried to open them in atom, I also got a JSON version.
After a fair bit of research, what I learned is that Hydrogen is simply using jupyter to enable inline code execution in plain text files (e.g. .py
and .R
), it does not actually support .ipynb
files, more importantly the maintainers have no plans or desire to support .ipynb
.
references:
- https://github.com/nteract/hydrogen/issues/75
- https://github.com/nteract/hydrogen/issues/1154
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With