Trouble exporting to HTML

Not sure where to put this, but I recently started having the following error show up when I try to export notebooks to HTML:

nbconvert failed: Unicode strings with encoding declaration are not supported. Please use bytes input or XML fragments without declaration.

I have a conda installation of everything, and it was working fine, previously.

1 Like

Did anyone solve this issue? I am struggling with this now.

When the matplotlib drawing output format in your notebook is set to svg, the error you mentioned will appear. But I haven’t found a way to handle this error

1 Like

Thanks, with plots in png format, it can export to html.

1 Like