Skip to content

Python: Select Interpreter doesn't list all pyenv interpreters #1281

Closed
@neverfox

Description

@neverfox

Environment 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 #363 (comment)

Expected behavior

All pyenv (and pyenv virtualenvs) interpreters should appear in list of interpreters.

Steps to reproduce:

  1. With multiple pyenv versions and virtualenvs, run pyenv versions to get a list of all versions
  2. View list from "Python: Select Interpreters"
  3. Notice that the list in VSCode is incomplete

Logs

Output for Python in the Output panel (ViewOutput, 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature-requestRequest for new features or functionality

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions