Message378485
Here's a small reproducible, run it on a Windows OS that has symlinks enabled:
import shutil
import venv
import subprocess
shutil.rmtree("venv", ignore_errors=True)
venv.EnvBuilder(with_pip=False, symlinks=True).create("venv")
# works
subprocess.check_call(["venv\\Scripts\\python.exe", "-c", "import sys; print(sys.executable)"])
# fails with No module named 'encodings'
subprocess.check_call(["venv\\Scripts\\python.exe", "-Ic", "import sys; print(sys.executable)"]) |
|
Date |
User |
Action |
Args |
2020-10-12 10:55:28 | gaborjbernat | set | recipients:
+ gaborjbernat |
2020-10-12 10:55:28 | gaborjbernat | set | messageid: <1602500128.27.0.409801171694.issue42013@roundup.psfhosted.org> |
2020-10-12 10:55:28 | gaborjbernat | link | issue42013 messages |
2020-10-12 10:55:28 | gaborjbernat | create | |
|