Selecting a Python Virtual Environment in VS Code for Jupyter Notebooks
Selecting a Python Virtual Environment in VS Code for Jupyter Notebooks Follow these steps to select a Python virtual environment located in the .venv/ directory of your current workspace for use with Jupyter notebooks in Visual Studio Code (VS Code). Open Command Palette Press Ctrl+Shift+P (Windows/Linux) or Cmd+Shift+P (macOS) to open the Command Palette. Select Interpreter Type Python: Select Interpreter and hit Enter. Choose the .venv Environment From the list, select the interpreter that corresponds to your ....