Skip to content

Respect .python-version as suggested by pyenv (and pyenv-virtualenv) #15473

Closed

Description

There are several issues about not finding the correct python interpreter, but none about the fact that a simple .python-version file holds the version or virtualenv name that this extension can simply parse and select the interpreter based on it.

Activity

  1. ghost removed
    triage-neededNeeds assignment to the proper sub-team
    on Feb 22, 2021
  2. added
    area-environmentsFeatures relating to handling interpreter environments
    triage-neededNeeds assignment to the proper sub-team
    and removed
    triage-neededNeeds assignment to the proper sub-team
    on Feb 22, 2021
  3. karthiknadig commented on Feb 22, 2021

    @karthiknadig
    Member

    Thank you for the suggestion! We have marked this issue as "needs decision" to make sure we have a conversation about your idea. We plan to leave this feature request open for at least a month to see how many 👍 votes the opening comment gets to help us make our decision.

  4. bersbersbers commented on May 24, 2021

    @bersbersbers

    I'm not sure if issuing pyenv local || pyenv global may be more robust, though. Marvin Heilemann (@muuvmuuv), I have this problem a lot, could you list some of these other issues here?

  5. tigerhawkvok commented on Mar 31, 2022

    @tigerhawkvok

    On Windows at least, you could get around this by allowing the default interpreter to be the pyenv shim, but it's not allowed to be selected as the default Python.

  6. anthonykim1 commented on Dec 10, 2024

    @anthonykim1

    Looks like a dup of #1167 This should've been resolved with #23094, I believe. Are folks still experiencing this issue? I'm going to close the issue but please let us know if you are still suffering from this, I can reopen this.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-environmentsFeatures relating to handling interpreter environmentsfeature-requestRequest for new features or functionalityneeds PRReady to be worked on

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions