Answer the question
In order to leave comments, you need to log in
Why is the xhtml2pdf library not installed?
Gentlemen, tell me what the problem could be - the xhtml2pdf library is not installed to convert HTML to PDF, the command gives pip install xhtml2pdf
an error and this is the end:
SyntaxError: Non-UTF-8 code starting with '\xe4' in file C:\Users \775D~1\AppData\Local\Temp\tmppjtu0867.py on line 3, but no encoding declared; see python.org/dev/peps/pep-0263 for details
error: command 'c:\\users\\dns\\desktop\\travels\\trv_env\\scripts\\python.exe' failed with exit status 1
Command "c:\users\dns\desktop\travels\trv_env\scripts\python.exe -u -c "import setuptools, tokenize;__file__='C:\\Users\\775D~1\\AppData\\Local\ \Temp\\pip-install-6qhqh33p\\xhtml2pdf\\setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n ', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record C:\Users\775D~1\AppData\Local\Temp\pip-record -rwupnme8\install-record.txt --single-version-externally-managed --compile --install-headers c:\users\dns\desktop\travels\trv_env\include\site\python3.6\xhtml2pdf" failed with error code 1 in C:\Users\775D~1\AppData\Local\Temp\pip-install-6qhqh33p\xhtml2pdf\
Windows 10, Django 2.0, Python 3.6
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question