I have installed pygame in the terminal but I cannot find it in vscode and get an error.
Edit:
I found that I was using the wrong python interpreter see my later answer
I have installed pygame in the terminal but I cannot find it in vscode and get an error.
Edit:
I found that I was using the wrong python interpreter see my later answer
Original answer - by @MOStudios (me)
When any .py
file is open in the editor and is currently being used, near the bottom left, it says Python <version> <32/64>-bit
. Tap it and select the directory that contains the python interpreter version that has kivy installed.
Check the following image for any help
The platform I was using was a chromebook, but the location of changing the editor is the same
Run pip install kivy
to ensure that vscode uses it