Jupyter notebooks in Visual Studio Code does not use the active virtual environment
It’s because there is an extra step needed – you need to explicitly install a Jupyter kernel that points to your new Python virtual environment. You can’t simply activate Jupyter-lab or Notebook from the virtual environment. This has tripped me up before, too. Follow the advice here: Using Jupyter notebooks with a virtual environment And, … Read more