Skip to content

Spike - what are the errors we're throwing on interpreter discovery on Windows #9901

@luabud

Description

@luabud

Environment data

  • VS Code version: 1.42.0
  • Extension version (available under the Extensions sidebar): 2020.2.61453-rc.
  • OS and version: Windows 10
  • Python version (& distribution if applicable, e.g. Anaconda): 3.8.1
  • Type of virtual environment used (N/A | venv | virtualenv | conda | ...): venv

Actual behaviour

On developer tools, this is what I see:

image

Steps to reproduce:

[NOTE: Self-contained, minimal reproducing code samples are extremely helpful and will expedite addressing your issue]

  1. On Windows, select an interpreter and check the output in the developer tools. You will see a lot of "unknown" errors.

Logs

Output for Python in the Output panel (ViewOutput, change the drop-down the upper-right of the Output panel to Python)

User belongs to experiment group 'ShowExtensionSurveyPrompt - enabled'
User belongs to experiment group 'DebugAdapterFactory - experiment'
User belongs to experiment group 'Reload - experiment'
User belongs to experiment group 'WebHostNotebook - control'
> conda --version
> pyenv root
> python3.7 -c "import sys;print(sys.executable)"
> python3.6 -c "import sys;print(sys.executable)"
> python3 -c "import sys;print(sys.executable)"
> python2 -c "import sys;print(sys.executable)"
> python -c "import sys;print(sys.executable)"
> py -3.7 -c "import sys;print(sys.executable)"
> py -3.6 -c "import sys;print(sys.executable)"
> py -3 -c "import sys;print(sys.executable)"
> py -2 -c "import sys;print(sys.executable)"
> c:\Users\luabud\Apps\wave\env\Scripts\python.exe -c "import sys;print(sys.executable)"
> ~\AppData\Local\Continuum\anaconda3\Scripts\conda.exe info --json
> ~\AppData\Local\Continuum\anaconda3\Scripts\conda.exe env list
> c:\Users\luabud\Apps\wave\env\Scripts\python.exe -c "import jupyter"
> c:\Users\luabud\Apps\wave\env\Scripts\python.exe -c "import notebook"
> ~\AppData\Local\Continuum\anaconda3\Scripts\conda.exe env list

Metadata

Metadata

Labels

area-environmentsFeatures relating to handling interpreter environmentsbugIssue identified by VS Code Team member as probable bugregressionBug didn't exist in a previous release

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions