我正在尝试安装 cython-hidapi 以在我的 Ubuntu 12.04 上读取 USB。我已按照https://github.com/gbishop/cython-hidapi的说明安装了以下版本:
- lib-usb == 1.0.9
- hidapi == 0.7.0
- 赛通 == 0.16
- 蟒蛇== 2.7
- cython-hidapi == 最新结帐
当我从安装中执行测试部分(python > import hid)时,我收到以下错误:
Python 2.7.3 (default, Aug 1 2012, 05:14:39)
[GCC 4.6.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import hid
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: /usr/local/lib/python2.7/dist-packages/hid.so: undefined symbol: libusb_open
有谁知道我为什么会收到此错误以及如何检查/处理它?
谢谢!伍特