Keyboard module (Import "keyboard" could not be resolved from source Pylance (reportMissingModuleSource))
Question:
I’m having trouble with using keyboard module. I installed it with "pip install keyboard" but whenever I try "import keyboard" I get and error: (module) keyboard
Import "keyboard" could not be resolved from source Pylanc (ereportMissingModuleSource).
I tried reinstalling but nothing seems to work.
I tried reinstalling the module as well as installing a newer version of python but nothing seems to work.
Answers:
I think it is visual-studio-code problem
you can read this article :
here
I’m having trouble with using keyboard module. I installed it with "pip install keyboard" but whenever I try "import keyboard" I get and error: (module) keyboard
Import "keyboard" could not be resolved from source Pylanc (ereportMissingModuleSource).
I tried reinstalling but nothing seems to work.
I tried reinstalling the module as well as installing a newer version of python but nothing seems to work.
I think it is visual-studio-code problem
you can read this article :
here