[issue46028] 3.11.0a3: under tox, sys._base_executable is wrong
Ned Batchelder
report at bugs.python.org
Tue Dec 14 08:15:26 EST 2021
Ned Batchelder <ned at nedbatchelder.com> added the comment:
> I assume /private/tmp/bpo-46028/311-nested/bin/python3.11 exists though?
Yes, that file exists, but it's a symlink to a non-existent file:
$ ls -al 311-nested/bin
total 0
drwxr-xr-x 5 nedbatchelder wheel 160 Dec 13 18:04 ./
drwxr-xr-x 6 nedbatchelder wheel 192 Dec 13 18:04 ../
lrwxr-xr-x 1 nedbatchelder wheel 21 Dec 13 18:04 python@ -> /usr/local/bin/python
lrwxr-xr-x 1 nedbatchelder wheel 6 Dec 13 18:04 python3@ -> python
lrwxr-xr-x 1 nedbatchelder wheel 6 Dec 13 18:04 python3.11@ -> python
$ ls -al /usr/local/bin/python
ls: /usr/local/bin/python: No such file or directory
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue46028>
_______________________________________
More information about the Python-bugs-list
mailing list