VS Code Python Interpreter Not Found

Share
Workaround available Windows, macOS, Linux Updated November 13, 2026Based on 4 user reportsHow we research

Quick answer

If VS Code cannot find your Python interpreter, open the project folder, keep the venv in the workspace root and pick the interpreter by path with Python: Select Interpreter.

Most likely fix: Select the interpreter by path

How to fix it

Try these in order — the most common fix is first.

  1. 1. Select the interpreter by path

    1. Press Ctrl/Cmd+Shift+P and run Python: Select Interpreter
    2. Choose Enter interpreter path
    3. Use .venv/bin/python on macOS/Linux or .venv\Scripts\python.exe on Windows
    Did this fix it?
  2. 2. Open the right folder

    1. Use File > Open Folder on the project root
    2. Create the .venv in that root; subfolder venvs may not be listed
    Did this fix it?
  3. 3. Reload and refresh

    1. Run Developer: Reload Window
    2. Run Python: Select Interpreter again
    Did this fix it?
  4. 4. Verify Python works outside VS Code

    1. Run python --version (or py -0p on Windows) in a normal terminal
    2. If it fails, reinstall Python or recreate the venv
    Did this fix it?
  5. 5. Know the python.defaultInterpreterPath caveat

    1. python.defaultInterpreterPath only applies the first time a workspace loads
    2. Once an interpreter is selected, changing the setting has no effect; select again from the command
    Did this fix it?

Symptoms

The interpreter picker is empty, shows 'Select Python Interpreter' again after choosing, or your .venv is missing from the list.

Why it happens

  • Opened a single file instead of a folder
  • Venv created in a subfolder of the workspace
  • Python extension missing or outdated
  • Stored workspace interpreter overrides python.defaultInterpreterPath
  • Python discovery timeouts in newer extension builds

This guide also covers

  • vscode python interpreter not found
  • vscode select interpreter not showing
  • vscode venv not detected

Still not working?

If VS Code keeps failing, you're not alone. See every VS Code problem users report or the alternatives people switch to.

Need a custom web app or internal tool? Our small team builds it, on your domain or hosted by us. Price agreed together.

Get a quote
Fixed it? Share this guide

The same problem in other apps

All not loading, error messages & connection guides →

Other VS Code errors

All 12 VS Code errors and fixes →