Attila-Mihaly Balazs added the comment: Hello,
A scenario where this would be needed (and where you can't just "execute the script with the python from inside the pyvenv" to get it automatically activate) is when running under mod_wsgi. There sometimes it is needed to activate the virtualenv "on the fly" from inside the application.wsgi. Just taking activate_this.py from virtualenv and dropping it into env/bin seems to work nicely, so perhaps that could become the official solution? ---------- nosy: +Attila-Mihaly Balazs _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue21496> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com