juhasch / pyBusPirateLite

Python library for BusPirate
https://pybuspiratelite.readthedocs.io/en/latest/
Other
58 stars 33 forks source link

ImportError: cannot import name 'BBIO' #15

Open averri opened 6 years ago

averri commented 6 years ago

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'
juhasch commented 5 years ago

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