You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/usr/local/bin shall never be referenced in this file as /usr/local/bin/python3 is just a symlink on /opt/hostedtoolcache/Python/3.11.7/x64/bin/python3
importing subprocess fails because the computed sys.path is invalid for this interpreter (/usr/lib/python3.11/lib-dynload is invalid here):
mayeut
changed the title
venv base path does not resolve symlinks using realpath()
venv base-executable path does not resolve symlinks using realpath()
Jan 14, 2024
Issue
The
home
&base-executable
keys inpyvenv.cfg
do not resolve symlinks usingrealpath()
leading to a broken virtual environment in some cases.c.f. python/cpython#106045
Environment
Provide at least:
Output
the
cp311-4
is broken & uses the followingpyvenv.cfg
:/usr/local/bin
shall never be referenced in this file as/usr/local/bin/python3
is just a symlink on/opt/hostedtoolcache/Python/3.11.7/x64/bin/python3
importing subprocess fails because the computed sys.path is invalid for this interpreter (
/usr/lib/python3.11/lib-dynload
is invalid here):The text was updated successfully, but these errors were encountered: