python - how to install PyMouse on Windows -


i trying use pymouse plugin on windows 8.1 . used code import library :

from pymouse.windows import pymouse 

but error shows :

from win32api import getsystemmetrics importerror: no module named 'win32api'

where problem? not sure install library fine ! can show how install on windows ?

the win32api module part of pywin32, need install that.

meanwhile, should installing things pip whenever possible. packages aren't pip-installable, or have incorrect requirements specs, most packages, if try pip install them, either automatically fetch dependencies or complain they're missing.


also looks pymouse's documentation wrong, because claims require ctypes (which comes python 2.6+), not pywin32, on windows. may want file documentation bug them.

however, looks pymouse using abandoned @ version 0.4 6 years ago. picked else, but, readme says, later merged pyuserinput. so, want use instead.

note pyuserinput correctly mentions other dependencies in readme. checks them in setup.py file. hopefully, have is:

pip install pyuserinput 

… , either pull in pywin32 , pyhook, or complain have go them manually.


Comments

Popular posts from this blog

android - MPAndroidChart - How to add Annotations or images to the chart -

javascript - Add class to another page attribute using URL id - Jquery -

firefox - Where is 'webgl.osmesalib' parameter? -