I'm using visual studio code with python, and i'm trying to make a game using pygame. When I try importing pygame an error comes and it says
Import "pygame" could not be resolved ''
What confuses me is that i tried running the exact same code in pycharm and it worked without any problems. It also has no problem importing other modules. For some reason only pygame is the one that gives the error.
I tried restarting my PC and visual studio code. I tried selecting different python interpreters witch I don't fully understand so maybe I did something wrong there. If anyone has any ideas on how to fix this I would appreciate it.