

Now the export File > Download As > pdf is working. I have also Symlink the binary: sudo ln -s /Applications/Inkscape.app/Contents/MacOS/inkscape /usr/local/binĪnd I have changed the path: ~ % export ~ % jupyter -version.I have downloaded and installed the dmg.When used as a command line tool (invoked. The conversion call must read the SVG from "'Īlso be sure that you have installed Inkscape: For example, nbconvert is used to implement the Download as feature within the Jupyter Notebook web application. This string is a template, which will be formatted with the keys Help="""The command to use for converting SVG to PDF class SVG2PDFPreprocessor(ConvertFiguresPreprocessor):Ĭonverts all of the outputs in a notebook from SVG to _from_format_default(self):

Inside this file you have some lines (which I commented out) which are obsolete and need to be replaced with the following. I discovered that the problem is in the /Applications/anaconda3/lib/python3.7/site-packages/nbconvert/preprocessors/svg2pdf.py file. On Mac OSX and Anaconda distribution I was facing the same problem.
