dev_appserver.py is causing error while running python 2.7 project locally but working fine on GAE

123 Views Asked by At

Running dev_appserver.py is causing the error for Python 2.7 (Flask 1.1.1) project locally.

 File "/Users/honeythakuria/Work/project/lib/pathlib2/__init__.py", line 5, in <module>
import ctypes
 File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ctypes/__init__.py", 
  line
 29, in <module>
if int(_os.uname()[2].split('.')[0]) < 8:
 ValueError: invalid literal for int() with base 10: ''

Same project is running fine on GAE with pycrypto libraries in .yaml

Can someone help in running the project locally ?

0

There are 0 best solutions below