Source: python – Customize module search path (PYTHONPATH) via pipenv – Stack Overflow

Easiest way to make VS Code to pickup the correct Python:

  1. Use pipenv
  2. Create a .env file, see link avoe
  3. prun code .