Closed vxe closed 3 years ago
something did not work right on the export, the metadata from ox-ipynb is incomplete. can you post a MWE org file that does this? I am not able to reproduce it.
sure: metadata.org.tar.gz
additional org mode version:
Org mode version 9.4.6 (9.4.6-10-gee652a-elpaplus
ox-ipynb does not work on Python cells. you should change them to ipython or jupyter-python cells.
Alternatively it might work to add this to your init
(setq ox-ipynb-kernelspecs
(append ox-ipynb-kernelspecs '((python . (language_info . ((codemirror_mode . ((name . python)
(version . 3)))
(file_extension . ".py")
(mimetype . "text/x-python")
(name . "python")
(nbconvert_exporter . "python")
(pygments_lexer . "python3")
(version . "3.5.2")))))))
yeah works with ipython, cells
for future reference, i had to run this to get ipython blocks to evaluate
pip3 install jupyter_console jupyter_client
Get the below error when trying to open an exported notebook
Adding the metatdata section from a working notebook gets it to open
ox-ipynb
working notebook
env