PyUserInput
PyUserInput copied to clipboard
dependency problem
Hi !
$ sudo pip install PyUserInput. $ python
from pymouse import PyMouseEvent Traceback (most recent call last): File "
", line 1, in File "/usr/local/lib/python2.7/dist-packages/pymouse/init.py", line 41, in from .x11 import PyMouse, PyMouseEvent File "/usr/local/lib/python2.7/dist-packages/pymouse/x11.py", line 16, in from Xlib.display import Display ImportError: No module named Xlib.display
Dependencies to python-xlib is missing.
Keep up the good work and thanks for your library !
Just checked the documentation, dependencies are clearly indicated in the README and because they change given the OS I understand you point, sorry for the false issue.
Actually, setup.py is just Python code, so nothing stops us from inserting the correct dependency for the current OS. I don't know if we need to care about Waylnd and Mir already, but otherwise it'd be pretty easy I think?
@pepijndevos I'm taking a look at what it would take to support the automatic installation of dependencies. Most of our dependencies don't play nice with pip.