I wanted to make an interactive program in the terminal so i downloaded the keyboard module by doing "python -m pip install keyboard". But when i tried to import the keyboard module into my program i got a ModuleNotFound error.
I tried to install it again but it was already installed
I also tried installing pygame and it installed without a problem so i decided to test them in a program.
The code
import pygame
import keyboard