Closed
Description
Environment data
- VS Code version: 1.53.2
- Extension version (available under the Extensions sidebar): v2021.2.576481509
- OS and version: MacOS 10.14.5
- Python version (& distribution if applicable, e.g. Anaconda): 3.8.6
- Type of virtual environment used (N/A | venv | virtualenv | conda | ...): pyenv virtualenv
- Relevant/affected Python packages and their versions: N/A
- Relevant/affected Python-related VS Code extensions and their versions: N/A
- Value of the
python.languageServer
setting: Pylance
Expected behaviour
All environments created using pyenv virtualenv are listed as options when selecting interpreter.
Actual behaviour
Only system installations and the pyenv installations of Python 3.8.6 is suggested, not any of the virtual environments created. I have tried reinstalling VS Code, the Python extension, as well as pyenv and virtualenv (using homebrew). The .pyenv folder is located at /Users/username/.pyenv. This has never been an issue for me before today.
Steps to reproduce:
- Install VS Code 1.53.2
- Install Python and Pylance extensions
- Install pyenv and virtualenv using homebrew
- Install Python 3.8.6 with pyenv
- Create a new enironment using pyenv virtualenv
- Restart VS Code
- The created environment is not suggested when selecting an interpreter
Logs
N/A
Please let me know if you need any further information regarding this issue.