ImportError: No module named pynput.keyboard

前端 未结 2 1481
一个人的身影
一个人的身影 2021-01-26 03:42

I have a problem and I can\'t find anything to help.The idea is that I can\'t import pynput. I did the pip install and this is what it shows:

> Traceback (mos         


        
2条回答
  •  一生所求
    2021-01-26 04:39

    Last time I had this issue, it was because I had installed the module using pip for a given version of python (lets say 2.7), but I was running my script using python 3.6. Try to check the versions.

提交回复
热议问题