There is a problem with the python bindings for libftdi.
Several sources [1, 2] say that to use python bindings with Python 2,
libftdi has to be in version 1.0 <= libftdi <= 1.2, whereas to work with
Python 3, it has to be >= 1.3.
That's quite unfortunate. Is there a possibility to resolve this issue
so that a single version of libftdi would be usable in both Python 2 and
Python 3?
People were reporting [3, 4, 5] even your own examples in repo fail to
run in version 1.3+.
So far, I filed an Ubuntu packaging issue [6] to provide both version
1.2 and 1.4, but I think it has a pretty low probability to get resolved...
Thanks you for helping resolve this unfortunate issue.
[1]
https://github.com/adafruit/Adafruit_Python_GPIO/issues/61#issuecomment-363477104
<https://github.com/adafruit/Adafruit_Python_GPIO/issues/61#issuecomment-363477104>
[2]
https://github.com/adafruit/Adafruit_Python_GPIO/issues/50#issuecomment-363479708
<https://github.com/adafruit/Adafruit_Python_GPIO/issues/50#issuecomment-363479708>
[3]
http://developer.intra2net.com/git/?p=libftdi;a=blob;f=python/examples/complete.py;h=d949fcaf86203f5b184af59072f9004797084672;hb=HEAD
[4]
http://developer.intra2net.com/mailarchive/html/libftdi/2018/msg00081.html
[5]
http://developer.intra2net.com/mailarchive/html/libftdi/2018/msg00008.html
[6] https://bugs.launchpad.net/ubuntu/+source/libftdi1/+bug/1815049
--
Martin Pecka
--
libftdi - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to [email protected]