pythongoogle-app-enginebuildout

python-pptx on Google App Engine


According to Google App Engine Third Party Libraries Support, the latest version of lxml supported is 2.3 https://cloud.google.com/appengine/docs/python/tools/libraries27

And python-pptx requires lxml >= 3.1.0 https://github.com/scanny/python-pptx/blob/master/requirements.txt

So what's the best way (if possible) to run python-pptx on GAE?

Note: I'm using buildout to deploy my applications, and that where those restrictions fail.

Thanks!


Solution

  • App Engine isn't compatible with that library so your best bet if you still want to stick with App Engine services is to use Managed VMs: https://cloud.google.com/appengine/docs/managed-vms/

    This will let you access all the App Engine services but give you more flexibility with installing libraries.