Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Py Hover InstallNew to Visual Studio Code? Get it now.
Py Hover Install

Py Hover Install

Ahmed Elrweny

|
65 installs
| (1) | Free
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

py-hover-install

A VS Code extension that adds a hover-tooltip link that installs missing Python packages with one click.

  • Hover any unresolved import.
  • Click Install .
  • A VS Code Task runs pip install in its own terminal.

demo gif


🔧 Configuration

You can customize where packages are installed by setting a Python interpreter path.

pyHoverInstall.installInterpreterPath

  • Type: string (path to a Python executable)
  • Default: (empty) → The extension will try to detect a virtual environment in your workspace (.venv or venv).
  • Fallback: If no custom interpreter or venv is found, it will use python from your system PATH.

Example:

// settings.json
{
  "pyHoverInstall.installInterpreterPath": "/usr/local/bin/python3"
}
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft