
Managing Hatch Dependencies in VS Code
I recently started using hatch for python projects, and even though hatch will manage and install dependencies for you (just modify the pyproject.toml file), I noticed the import statements could not find the dependencies. This has to do with how Python and Hatch create virtual environments.
To fix this:
CMD + Shift + P
Python: Select Interpreter
Find the Python Environment that matches the Hatch environment.