我在尝试安装uinput时遇到错误我试过PIP和easy_install
.我还尝试从tar包安装'manual'.我总是得到一个错误.以下是使用easy_install进行安装时出现的错误.
你能指导我如何解决它吗?
rpi@torpi ~/scripts $ sudo easy_install python-uinput
Searching for python-uinput
Reading http://pypi.python.org/simple/python-uinput/
Best match: python-uinput 0.10.2
Downloading https://pypi.python.org/packages/source/p/python-uinput/python-uinput-0.10.2.tar.gz#md5=abbbbfc50d03a0585a5231d9396f78bd
Processing python-uinput-0.10.2.tar.gz
Running python-uinput-0.10.2/setup.py -q bdist_egg --dist-dir /tmp/easy_install-ZWLsct/python-uinput-0.10.2/egg-dist-tmp-bPeztQ
/usr/bin/ld: cannot find libudev.so
collect2: ld returned 1 exit status
error: Setup script exited with error: command 'gcc' failed with exit status 1
Run Code Online (Sandbox Code Playgroud)