ctypes init fails using local app engine, django and virtualenv with python 2.7

前端 未结 1 660
别那么骄傲
别那么骄傲 2021-01-23 10:26

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: \'
相关标签:
1条回答
  • 2021-01-23 10:50

    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.

    0 讨论(0)
提交回复
热议问题