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
First, python3.6 installation SendKeys error
1.python3.6 installation SendKeys is not installed, will be error
> Pip Install SendKeys
Two, 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, install python3.6 32-bit version, it is no problem
> Pip Install pyuserinput
Three, 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)
Iv. installation of Pyhook
1.pyhook:[https://www.lfd.uci.edu/~gohlke/pythonlibs/#lxml] (https://www.lfd.uci.edu/~gohlke/pythonlibs/#lxml)
After local, install with PIP
> Pip Install pyhook Local Path
After installing Pyhook, continue to install Pyuserinput time, will error: No matching distribution found for Pywin32 (from Pyuserinput)
Wu, Pywin32
1.pywin32:[https://www.lfd.uci.edu/~gohlke/pythonlibs/#lxml] (https://www.lfd.uci.edu/~gohlke/pythonlibs/#lxml)
2. After downloading to the local, install
> Pip Install pywin32 Local Path
Six, 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. Workaround: First uninstall Pywin32:pip uninstall Pywin32
Reinstall the PYWIN32-220 version, then run it again OK
Selenium+python Automation 84-python3.6 with Pyuserinput