Objective
Python2 on the installation of SendKeys library, for the elements of the bad positioning, with the shortcut key operation is excellent, then on the 3.6 installation, will error
python3.6 Installation SendKeys Error
1.python3.6 installation SendKeys is not installed, will be error
Pip Install SendKeys
32-bit python3.6 installation Pyuserinput
1.python3.6 is divided into 2 versions, one is 32-bit python3.6 and the other is a 64-bit python3.6.
If your computer is 32-bit, install python3.6 32-bit version, directly with PIP installation is no problem
If your computer is 64-bit, it is no problem to install python3.6 32-bit version.
Pip Install Pyuserinput
64-bit python3.6 installation Pyuserinput
1. If your computer is 64-bit, install python3.6 64-bit version, then the problem comes.
2. Error: No matching distribution found for Pyhook (from Pyuserinput)
Pyhook Installation
1.pyhook:https://www.lfd.uci.edu/~gohlke/pythonlibs/#lxml
2. After downloading to local, install with PIP
Local path to pip install Pyhook
3. After installing Pyhook, continue to install Pyuserinput, will error: No matching distribution found for Pywin32 (from Pyuserinput)
Pywin32
1.pywin32:https://www.lfd.uci.edu/~gohlke/pythonlibs/#lxml
2. After downloading to the local, install
Local path to pip install Pywin32
Import Pymouse Error
1. Environment installation is over, you think it's okay, that's too young, then directly after the import module, error: Importerror:dll load failed: The specified module could not be found.
2. Problem reason: pywin32-221 version is too high, switch to pywin32-220
pywin32-220:https://sourceforge.net/projects/pywin32/files/pywin32/build%20220/
3. First uninstall Pywin32:pip uninstall Pywin32
4. Reinstall the PYWIN32-220 version, then run it again OK
Selenium+python Automated 85-python3.6 on SendKeys error with pyuserinput replacement