Skip to content Skip to sidebar Skip to footer

Trouble Installing And Importing SendKeys -- Update

I am trying to install SendKeys for Python. If I use pip install SendKeys I get a link error: _sendkeys.c(150): warning C4013: 'Py_InitModule' undefined; assuming extern returni

Solution 1:

The installation error was caused by missing components of Visual Studio, and was fixed by updating the Python Tools for Visual Studio. That's probably a common problem for installation and updates on Windows.

I still have not fixed the import issue. I think it has to do with the python version, but I'm not sure. In any event, I've chosen to use pyautogui instead, so the issue is moot.


Solution 2:


Post a Comment for "Trouble Installing And Importing SendKeys -- Update"