skip to Main Content

I have 2 global python installations and 2 python venv.
enter image description here

I don’t use global interpreters and don’t want vscode to show these 2.

Is there a way to stop vscode from accessing these global python interpreters and showing them?

I had manually added the python interpreter paths for venvs and I am using that and not the global interpreters.

2

Answers


  1. Python extension retrieves your environment variables to provide you with the choice of python interpreter.

    Unless you delete the python path in the environment variable, it will always be displayed, (but this is not recommended).

    Login or Signup to reply.
  2. Try opening VSCode as administrator. Right click VSCode and select ‘Run as administrator’

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search