Amirouche Boubekki <amirouche.boube...@gmail.com> added the comment:

You need to run the program with the following:

  python -X dev -c "from gunicorn.app.wsgiapp import run; run()" --workers=1 
foobar:app

where foobar.py is the code from the previous message.

The crash happen when, the function `app` is executed, hence you need to call 
in another console:

curl http://localhost:8000

note: lsm package can be installed with pip install lsm-db
note2: lsm db can not be installed with py3.9

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue42891>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to