[issue30811] A venv created and activated from within a virtualenv uses the outer virtualenv's site-packages rather than its own.

Tzu-ping Chung report at bugs.python.org
Wed Jan 17 10:18:06 EST 2018


Tzu-ping Chung <uranusjr at gmail.com> added the comment:

Would it be possible for venv to do this automatically? Instead of using sys.executable, use

    import sysconfig
    dirname, exename = sysconfig.get_config_vars('BINDIR', 'BUILDPYTHON')

to populate values in the context?

----------
nosy: +uranusjr

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


More information about the Python-bugs-list mailing list