我正在尝试在 GAE 上部署应用程序。在本地应用程序有效,但在 GAE 上,当我尝试运行时,返回:
没有名为 xhtml2pdf 的模块
那是代码:
import webapp2
from xhtml2pdf import pisa
from weasyprint import HTML
import urllib
import urllib2
import StringIO
request.txt:
Pillow
html2pdf
xhtml2pdf
pyPdf
webapp2
webob
Paste
谢谢!