Last Updated: February 25, 2016
· guerre50

AlternateSetting error in python-ant

If you get error "Interface" object has not attribute AlternateSetting when using USB2Driver of python-ant you can fix it modifying line 198 in file located in:



AlternateSetting = alternateSetting


bAlternateSetting = alternateSetting

It seems that installing the library using python install uses an old version of the library with bugs. The related fix is in GitHub: