This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author uranusjr
Recipients uranusjr, vinay.sajip
Date 2018-01-18.10:56:09
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1516272969.63.0.467229070634.issue30811@psf.upfronthosting.co.za>
In-reply-to
Content
Plot twist: the workaround does not work on Windows.

    $ cd SOMEDIR   ; Placeholder for a valid directory.
    $ virtualenv env1
    ...
    $ env\Scripts\python.exe
    Python 3.6.4 (v3.6.4:d48eceb, Dec 19 2017, 06:54:40) [MSC v.1900 64 bit (AMD64)] on win32
    Type "help", "copyright", "credits" or "license" for more information.
    >>> import sysconfig
    >>> print(sysconfig.get_config_var('BINDIR'))
    SOMDIR\env1\Scripts

This points to the virtualenv's BINDIR, not the real Python installation's :(
History
Date User Action Args
2018-01-18 10:56:09uranusjrsetrecipients: + uranusjr, vinay.sajip
2018-01-18 10:56:09uranusjrsetmessageid: <1516272969.63.0.467229070634.issue30811@psf.upfronthosting.co.za>
2018-01-18 10:56:09uranusjrlinkissue30811 messages
2018-01-18 10:56:09uranusjrcreate