Issue
I'm using the command %config InlineBackend.figure_format = 'svg'
to have high quality image. Then I Export Notebook to PDF
and encounter the error
I install Inscape and added the line
c.SVG2PDFPreprocessor.inkscape = 'C:\\Program Files\\Inkscape\\bin\\inkscape.exe'
in the filejupyter_notebook_config.py
as suggested here.I installed the
nbconvert 6.0.0
as suggested here.
Sadly, both of them do not work. Could you please elaborate on how to solve this issue?
I use
Windows 10 Pro 2004 build 19041.572.
Anaconda3-2020.07
Inkscape 1.0.1.
Solution
I've found the solution for Windows 10.
Install
Inkscape
in a path that contains no space. In my case, it'sC:\Inkscape
.Add the folder containing
inkscape.exe
intoenvironment variable
. In my case, this folder isC:\Inkscape\bin
.
- Update
nbconvert
with commandconda update nbconvert --yes
. In my case, I instead update all the packages byconda update --all --yes
.
Answered By - Akira
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.