-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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: Select Interpreter doesn't list all pyenv interpreters #1281
Comments
Based on your comment on the other issue, we are detecting all of the intepreters installed by pyenv, just not the virtual environments you created with pyenv-virtualenv, correct? |
The issue is that you're detecting all of the non-virtual interpreters and some of the virtual ones, when what I believe is expected is that all of both kinds would be listed. It seems to be arbitrarily excluding two of them in the example from that comment. All of them are pyenv-created and there's no difference in the way the listed one was created from the way the excluded ones were created (save for the name). |
Hi, I've the same issue on mac. |
@gbonline That does sound frustrating, however I want to make sure not to confuse the issues, as the one I'm brining up is specifically pyenv-related (whereas it looks like you're using virtualenv-wrapper) and doesn't involve the venvPath setting. I might suggest filing a separate issue? Best of luck with your problem. |
@neverfox |
@neverfox So you're saying we actually detect some of the virtual environments created using |
@brettcannon Yes, some are picked up and some aren't. Did you see the screenshot and pyenv output I posted in the other issue? My expectations here were somewhat set by @gwax's experience. |
@neverfox I did see it, but that window can be scrollable so it's non-obvious if that's the complete list or not. Regardless, we think we might know the cause and fixed it in #1353 . If you have time, please try out the development build of the extension and see if this solves your problem. |
Yeah, I thought you might wonder about that. I did scroll for sure and it's not complete. I will check out the dev build, thanks. |
The alpha version appears to list all interpreters in pyenv. Now if there's ever a solution to #1167, pyenv users will be mostly set. |
Environment data
Actual behavior
See #363 (comment)
Expected behavior
All pyenv (and pyenv virtualenvs) interpreters should appear in list of interpreters.
Steps to reproduce:
pyenv versions
to get a list of all versionsLogs
Output for
Python
in theOutput
panel (View
→Output
, change the drop-down the upper-right of theOutput
panel toPython
)N/A, only contains linting output
Output from
Console
under theDeveloper Tools
panel (toggle Developer Tools on underHelp
)None
The text was updated successfully, but these errors were encountered: