[docs] [issue36196] sys.executable does not return python3 executable when using uwsgi

Joris VAN HOUTVEN report at bugs.python.org
Wed Mar 6 04:47:28 EST 2019


Joris VAN HOUTVEN <joris.vanhoutven at uhasselt.be> added the comment:

OK, so it is indeed uwsgi interfering with the sys.executable value.
In the github pst Inada Naoki refers to:

  "uwsgi is your current python interpreter, as it links the libpython.so. Getting sys.executable is not possibile as there is no binary path hard-encoded in library by itself"

So I suppose this issue can be closed here. I will comment on the uwsgi github.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue36196>
_______________________________________


More information about the docs mailing list