Python: Select Interpreter doesn't list all pyenv interpreters
See original GitHub issueEnvironment data
- VS Code version: 1.21.1
- Extension version (available under the Extensions sidebar): 2018.3.1
- OS and version: OS X 10.13.3
- Python version (& distribution if applicable, e.g. Anaconda): Multiple
- Type of virtual environment used (N/A | venv | virtualenv | conda | …): pyenv(-virtualenv)
- Relevant/affected Python packages and their versions: N/A
Actual behavior
See https://github.com/Microsoft/vscode-python/issues/363#issuecomment-378057027
Expected behavior
All pyenv (and pyenv virtualenvs) interpreters should appear in list of interpreters.
Steps to reproduce:
- With multiple pyenv versions and virtualenvs, run
pyenv versions
to get a list of all versions - View list from “Python: Select Interpreters”
- Notice that the list in VSCode is incomplete
Logs
Output for Python
in the Output
panel (View
→Output
, change the drop-down the upper-right of the Output
panel to Python
)
N/A, only contains linting output
Output from Console
under the Developer Tools
panel (toggle Developer Tools on under Help
)
None
Issue Analytics
- State:
- Created 5 years ago
- Comments:11 (4 by maintainers)
Top Results From Across the Web
VScode doesnt see pyenv python interpreters - Stack Overflow
It works fine in the command line. I can install python versions, set them as global etc. But My VS Code doesn't see...
Read more >Using Python environments in VS Code
Interpreters installed by pyenv, Pipenv, and Poetry. ... The Python: Select Interpreter command displays a list of available global environments, ...
Read more >How to Set Default Python Interpreter in VS Code
On your VS code press Ctrl + Shift + P, to open the command palette. · Type and select “Python: Select Linter”. ·...
Read more >Configure Python interpreters | CLion Documentation - JetBrains
Ensure that you have downloaded and installed Python on your computer. · In the left-hand pane of the Add Python Interpreter dialog, select...
Read more >How to change Python Version (Interpreter) in VSCode ...
This tutorial will show you the fastest way to change your Python environment in Visual Studio code.00:00 VSCode how to change Python ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@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.
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.