Home > OS >  Keyboard module (Import "keyboard" could not be resolved from source Pylance (reportMissin
Keyboard module (Import "keyboard" could not be resolved from source Pylance (reportMissin

Time:01-10

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.

CodePudding user response:

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

  • Related