foreword
Install the SendKeys library on python2. For elements that are not easy to locate, it is excellent to use shortcut keys to operate. Then when installing on 3.6, an error will be reported.
python3.6 install SendKeys error
1. Python3.6 installation of SendKeys cannot be installed, and an error will be reported
pip install SendKeys
32-bit python3.6 install PyUserInput
1.python3.6 is divided into 2 versions, one is 32-bit python3.6; the other is 64-bit python3.6.
-
If your computer is 32-bit, install python3.6 32-bit version, it is no problem to install directly with pip
-
If your computer is 64-bit, install python3.6 32-bit version, it is no problem
pip install PyUserInput
64-bit python3.6 install PyUserInput
1. If your computer is 64-bit and install python3.6 64-bit version, then the problem comes
2.报错:No matching distribution found for pyHook (from PyUserInput)
pyHook installation
1. pyHook download address: https://www.lfd.uci.edu/~gohlke/pythonlibs/#lxml
2. After downloading to the local, install it with pip
Local path to pip install pyHook
3. After installing pyHook, when continuing to install PyUserInput, an error will be reported: No matching distribution found for pywin32 (from PyUserInput)
pywin32
1. pywin32 download address: https://www.lfd.uci.edu/~gohlke/pythonlibs/#lxml
2. After downloading to the local, install
Local path of pip install pywin32
Import PyMouse error
1. After the environment is installed, you think it's all right, that's too young. Next, import the module and run it directly, and an error is reported: ImportError: DLL load failed: The specified module cannot be found.
2. Cause of the problem: pywin32-221 version is too high, replace it with pywin32-220
pywin32-220 download address: https://sourceforge.net/projects/pywin32/files/pywin32/Build%20220/
3. Uninstall pywin32 first: pip uninstall pywin32
4. Reinstall the pywin32-220 version, and then run it again