Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #87324
| From | Robin Becker <robin@reportlab.com> |
|---|---|
| Subject | Re: when may sys.executable be empty |
| Date | 2015-03-12 16:55 +0000 |
| References | <mdpk78$kms$1@ger.gmane.org> <5500863B.9020803@davea.name> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.298.1426179337.21433.python-list@python.org> (permalink) |
On 11/03/2015 18:15, Dave Angel wrote: ......... > > Just speculating, but how about when the main executable is not python at all, > but it uses a DLL or .so file with Python interpreter. > > when I run a django wsgi.py using uwsgi sys.executable points at the uwsgi executable. To run subprocess etc I have to find the python that's parallel to uwsgi (works in a virtualenv at least). -- Robin Becker
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: when may sys.executable be empty Robin Becker <robin@reportlab.com> - 2015-03-12 16:55 +0000
csiph-web