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

Python interpreter file browser resolves symlinks #17872

Closed
mrclary opened this issue May 13, 2022 · 0 comments · Fixed by #17874
Closed

Python interpreter file browser resolves symlinks #17872

mrclary opened this issue May 13, 2022 · 0 comments · Fixed by #17874

Comments

@mrclary
Copy link
Contributor

mrclary commented May 13, 2022

The Python interpreter file browser in the Preferences resolves symlinks and it should not.

Python executables in virtual environments frequently are symlinks to Python executables located elsewhere, and thus outside the virtual environment. When Spyder locates standard virtual environments (e.g. pyenv and conda) the path to the Python executable is correctly unresolved. However, when selecting the environment Python executable via the file browser, the symlink is resolved resulting in an incorrect environment when launched.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants