Message408491
Is sys._base_executable correct without a venv? It should be the same as sys.executable in that case.
venv calculates 'home' here: Lib/venv/__init__.py#L117
executable = sys._base_executable
dirname, exename = os.path.split(os.path.abspath(executable))
context.executable = executable # not relevant to this bug
context.python_dir = dirname # written as "home = ..."
If the path doesn't exist later on, it's because it didn't exist in the first place. *That* could be the real bug. |
|
Date |
User |
Action |
Args |
2021-12-13 22:54:17 | steve.dower | set | recipients:
+ steve.dower, vinay.sajip, christian.heimes, nedbat, pablogsal, saaketp |
2021-12-13 22:54:17 | steve.dower | set | messageid: <1639436057.92.0.409019658146.issue46028@roundup.psfhosted.org> |
2021-12-13 22:54:17 | steve.dower | link | issue46028 messages |
2021-12-13 22:54:17 | steve.dower | create | |
|