推荐答案我浏览了weasyprint.org上的问题列表,没有发现其他人抱怨Python 3.x与WeasyPrint的兼容性.然后,我碰到一个拉扯请求,确实对此有所抱怨,并准确地反映了我的困难.因此,现成的它在Python 3.x中不不起作用,但是通过一个小技巧它就可以了,请参阅[1].我将在pull请求中添加一些注释,希望可以解决这种不兼容问题.I had looked through the issues list at weasyprint.org and didn't find anyone else complaining about Python 3.x compatibility with WeasyPrint. Then I happened upon a pull request that did complain about just that and mirrors my difficulties exactly. So off the shelf it does not work with Python 3.x, but with a small hack it does, see [1]. I'll add some comments to the pull request and hopefully this incompatibility will get looked at. [1] https://github.com/Kozea/WeasyPrint/pull/132 这篇关于在Windows上使用Python 3.x的WeasyPrint使用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 上岸,阿里云!
07-05 01:19