Error Trying To Run Pdfquery Example
I just installed pdfquery in my machine, and I'm trying to run the example from their site import pdfquery pdf = pdfquery.PDFQuery('examples/sample.pdf') pdf.load() label = pdf.pq(
Solution 1:
This is because of lxml version not supported.
Do the following :
1. pip uninstall pdfquery
2. pip install -e git+https://github.com/jcushman/pdfquery.git#egg=pdfquery
This should solve the problem. More details about the issue at : https://github.com/jcushman/pdfquery/issues/6
Post a Comment for "Error Trying To Run Pdfquery Example"