monarch-initiative / biolink-api

API for linked biological knowledge
https://api.monarchinitiative.org/api/
BSD 3-Clause "New" or "Revised" License
64 stars 25 forks source link

OSError: Exec format error with Werkzeug 0.15 #260

Closed kshefchek closed 5 years ago

kshefchek commented 5 years ago

When starting up biolink in development mode via:

python biolink/app.py

I get the exception OSError: [Errno 8] Exec format error. I'm on Ubuntu 16.04, have tried with python 3.5, 3.6, 3.7. Werkzeug 0.14 works fine.

deepakunni3 commented 5 years ago

@kshefchek See related discussion here: https://github.com/pallets/werkzeug/issues/1482

Looks like the easiest way to get around this would be to add a shebang line to app.py:

#!/usr/bin/env python
anishpal29 commented 4 years ago

Hi same issue here. Tested on Centos 7.4 with python 3.6 after building docker image. it is working on local machine on windows 10.