Python中用pip成功安装xhtml2pdf库,import xhtml2pdf没有问题,但是import xhtml2pdf.pisa as pisa会出错,错误提示:ImportError: cannot import name inputstream。如图所示,请问这是怎么回事?
https://github.com/xhtml2pdf/xhtml2pdf/issues/318
http://stackoverflow.com/questions/13522638/paginating-in-pisa-xhtml2pdf-just-repeats-last-page