-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unicode strings with encoding declaration are not supported. #92
Comments
workaround: put # coding: utf-8 in the notebook |
I believe it is not related to package, closing the issue |
I ran into this issue as well. @tonylee2016 can you please clarify where you think this error is originating from? Is it nbconvert or lxml? I haven't found issues in any other projects that seem to be related to this. |
its nbconvert, I think it calls lxml. In my case, one cell in my notebook is using schemdraw. After I clear the output in that cell, it worked. |
Looks like there was a partial fix here: jupyter/nbconvert#1837 |
I get this error when I try to run the demo. It occurs in the ruby.ipynb notebook. Removing it allows the demo to run. |
ERROR - Error reading page 'xxxx/xxx.ipynb': Unicode strings with encoding declaration are not supported. Please use bytes input or XML fragments without declaration.
its related to lxml
File "src/lxml/etree.pyx", line 3254, in lxml.etree.fromstring
File "src/lxml/parser.pxi", line 1908, in lxml.etree._parseMemoryDocument
The text was updated successfully, but these errors were encountered: