PyUserInput icon indicating copy to clipboard operation
PyUserInput copied to clipboard

dependency problem

Open GustavePate opened this issue 10 years ago • 3 comments

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 !

GustavePate avatar Dec 29 '13 13:12 GustavePate

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.

GustavePate avatar Dec 29 '13 13:12 GustavePate

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 avatar Dec 29 '13 21:12 pepijndevos

@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.

SavinaRoja avatar Jan 03 '14 22:01 SavinaRoja