Message310232
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 :( |
|
Date |
User |
Action |
Args |
2018-01-18 10:56:09 | uranusjr | set | recipients:
+ uranusjr, vinay.sajip |
2018-01-18 10:56:09 | uranusjr | set | messageid: <1516272969.63.0.467229070634.issue30811@psf.upfronthosting.co.za> |
2018-01-18 10:56:09 | uranusjr | link | issue30811 messages |
2018-01-18 10:56:09 | uranusjr | create | |
|