pyBusPirateLite icon indicating copy to clipboard operation
pyBusPirateLite copied to clipboard

ImportError: cannot import name 'BBIO'

Open averri opened this issue 6 years ago • 1 comments

The following code (Python 3):

from pyBusPirateLite.I2Chigh import *
i2c = I2Chigh("COM8", 115200, 5)

... leads to the following error:

---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
<ipython-input-1-50afcf9735bb> in <module>()
----> 1 from pyBusPirateLite.I2Chigh import *
      2 i2c = I2Chigh("COM8", 115200, 5)

D:\python\pyBusPirateLite\pyBusPirateLite\I2Chigh.py in <module>()
     21 """
     22 
---> 23 from .BitBang import BBIO
     24 from .I2C import *
     25 

ImportError: cannot import name 'BBIO'

averri avatar Jul 03 '18 19:07 averri

Hi, there have been a few updates, it should work now.

juhasch avatar Sep 02 '18 16:09 juhasch