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.

Asked By: robofan

||

Answers:

I think it is visual-studio-code problem
you can read this article :
here

Answered By: yam ka
Categories: questions Tags: ,
Answers are sorted by their score. The answer accepted by the question owner as the best is marked with
at the top-right corner.