Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with symlinked paths #615

Closed
ut-adamc opened this issue Jun 3, 2014 · 1 comment
Closed

Problem with symlinked paths #615

ut-adamc opened this issue Jun 3, 2014 · 1 comment

Comments

@ut-adamc
Copy link

ut-adamc commented Jun 3, 2014

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?

@dstufft dstufft mentioned this issue Jan 5, 2015
5 tasks
@stale
Copy link

stale bot commented Jan 15, 2019

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.

@stale stale bot added the wontfix label Jan 15, 2019
@stale stale bot closed this as completed Jan 22, 2019
@pypa pypa locked and limited conversation to collaborators Jan 14, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant