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.
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
assignee=Noneclosed_at=<Date2021-10-07.23:24:15.240>created_at=<Date2021-09-30.20:39:58.508>labels= ['type-bug', '3.9', 'OS-windows']
title='Create venv with pip fails when target dir is under userappdata using Microsoft Store python'updated_at=<Date2021-10-07.23:24:15.240>user='https://github.com/AdamYoblick'
This analysis is correct, and I think there are two parts to this.
First, we probably need to add an os.path.realpath(path_to_venv) before we try and launch the environment. We *could* limit this to when it's under AppData, but I think limiting it to Windows is enough.
Second, if the realpath generated a different path, we should warn the caller. That wouldn't have helped in this (programmatic) case, but at least if someone is looking at the output they'll get an important hint.