Closed GoogleCodeExporter closed 8 years ago
Sorry,
the full error is this..
Traceback (most recent call last):
File "/usr/bin/key-mon", line 2, in <module>
import keymon.key_mon as km
File "/usr/lib/python3.4/site-packages/keymon/key_mon.py", line 38
print 'Error: Missing xlib, run sudo apt-get install python-xlib'
Original comment by akov...@gmail.com
on 13 Jan 2015 at 3:33
I am not familiar with Arch Linux, but I think the default Python is Python 3
on Arch and the traceback seems to confirm that.
I am guessing that you didn't install key-mon through Arch's key-mon package,
or the PKGBUILD will make sure it runs with python2.
You should be able to run `python2 /usr/bin/key-mon` if you really don't want
to install the distribution package.
Original comment by livibet...@gmail.com
on 13 Jan 2015 at 4:51
Thank you so much.
I feel like an idiot but I actually searched for the arch package and didn't
find it before which is why I installed from source. I think I missed the dash
in the package name when I did the search.
pip uninstall keymon and aur install key-mon fixed everything.
Many thanks!
Original comment by akov...@gmail.com
on 13 Jan 2015 at 5:01
Original comment by livibet...@gmail.com
on 13 Jan 2015 at 5:04
You'll need to run:
sudo apt-get install python-xlib
as the error message notes.
Original comment by sc...@forusers.com
on 13 Jan 2015 at 5:11
Original issue reported on code.google.com by
akov...@gmail.com
on 13 Jan 2015 at 3:31