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
I've encountered an issue where I'm getting the "Filename ... does not start with any of these prefixes" error message. It appears to arise from the use of symlinks in both the prefix the Python was built with, and in many of the components of the PYTHONPATH variable. Looking at the code, it seems likely that use of os.path.realpath rather than os.path.abspath inside the change_prefix function would prevent this problem.
Are there reasons this is inadvisable?
The text was updated successfully, but these errors were encountered:
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Just add a comment if you want to keep it open. Thank you for your contributions.
I've encountered an issue where I'm getting the "Filename ... does not start with any of these prefixes" error message. It appears to arise from the use of symlinks in both the prefix the Python was built with, and in many of the components of the PYTHONPATH variable. Looking at the code, it seems likely that use of os.path.realpath rather than os.path.abspath inside the change_prefix function would prevent this problem.
Are there reasons this is inadvisable?
The text was updated successfully, but these errors were encountered: