All my pip installed modules work fine using vscode, e.g. numpy, opencv-python, requests but when I run a program using terminal with windows powershell, I get ModuleNotFoundError for all my imports.
running python on terminal works but importing any of my pip installed modules get ModuleNotFoundError
running pip list on terminalworks and shows all my modules
I tried using python -m program.py but that gives "...\AppData\Local\Programs\Python\Python312\python.exe: Relative module names not supported"
I checked that my python path variables were correct