简体   繁体   中英

converting ipython notebook to html to share with others (missing pywin32)

I have a notebook I would like to convert to export it as either: 1) HTML or --template full (default) which is very similar to the interactive view.

http://ipython.org/ipython-doc/1/interactive/nbconvert.html

When I run the command:

ipython nbconvert --to html MyNotebook.ipynb 

No errors seem to pop up, but I can't find an additional notebook in the folder where my ipynb are stored?

Then if I try File > Download as > HTML I get the error: (even though I have the windows binary found here installed).

full nbconvert failed: you need to have pywin32 installed for this to work

Your Python installation, some reasons, may not have installed nbconvert. Re-installing Anaconda3 did not help my case. I recommend that you install 'pandoc' that converts all kinds of file formats. It works in the command line mode and through ipython notebook file menu, as well. An easiest way to install pandoc in windows, visit the web site below;

http://www.texts.io/support/0004/

Blessings, (a debtor)<><

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM