If you really need it, you can use a managed virtual machine and configure the necessary libraries, including python C-libraries such as a pillow.
Not that it was a simple solution. This affects scaling time (milliseconds to minutes according to Google), cost (you pay for the Cloud Compute Engine) and customization (you must specify the correct Docker container).
But it can be done.
source
share