How to Resolve “ModuleNotFoundError” for Libraries in VS Code with a .venv
When I create a virtual environment (.venv) using Visual Studio Code:
VSCode: Running python with sudo fixes missing module but it won’t run without it? (ModuleNotFoundError: No module named ‘requests’)
Note: this problem seems to be a VSCode specific issue as I can run it outside of VSCode and it seems to work. I want to get it working inside VSCode so I can debug it.