ModuleNotFoundError: No module named 'bpy'
After multiple hours of searching, the issue was due to the python interpreter not being automatically changed when activating a different environments within visual studio code.
The bpy module must use python 3.7.6 (for my version anyway) otherwise the module is not found.