Author gaborjbernat
Recipients eryksun, gaborjbernat, paul.moore, steve.dower, tim.golden, zach.ware
Date 2020-10-12.12:45:03
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1602506704.36.0.882585480077.issue42013@roundup.psfhosted.org>
In-reply-to
Content
Ok, the missing link is that the python you run into needs to be also a symlink venv:

❯ py -m venv env --without-pip --clear --symlinks
❯ .\env\Scripts\python.exe -c "import venv, subprocess; venv.EnvBuilder(with_pip=False, symlinks=True).create('venv'); subprocess.check_call(['venv\\Scripts\\python.exe', '-Ic', 'import sys; print(sys.executable)'])"

Fatal Python error: init_fs_encoding: failed to get the Python codec of the filesystem encoding
Python runtime state: core initialized
ModuleNotFoundError: No module named 'encodings'
History
Date User Action Args
2020-10-12 12:45:04gaborjbernatsetrecipients: + gaborjbernat, paul.moore, tim.golden, zach.ware, eryksun, steve.dower
2020-10-12 12:45:04gaborjbernatsetmessageid: <1602506704.36.0.882585480077.issue42013@roundup.psfhosted.org>
2020-10-12 12:45:04gaborjbernatlinkissue42013 messages
2020-10-12 12:45:03gaborjbernatcreate