I\'m facing an issue with the init of ctypes
if int(_os.uname()[2].split(\'.\')[0]) < 8:
ValueError: invalid literal for int() with base 10: \'
The issue was caused by an old version of PIL that configured is configured in app.yaml. App Engine support out of the box up to version 1.1.17, which doesn't work with the latest python 2 version.
I installed version 5.0.0 of PIL and removed 1.1.17 from the App Engine settings and it solved the problem.