ppannuto / python-saleae

Python library to control a Saleae Logic Analyzer
Apache License 2.0
124 stars 55 forks source link

AttributeError: partially initialized module 'saleae' has no attribute 'Saleae' (most likely due to a circular import) #78

Closed jahagirdar closed 3 years ago

jahagirdar commented 3 years ago
    import saleae
    s = saleae.Saleae()
    s.capture_to_file('/tmp/test.logicdata')

For the code above, I am getting the error message in subject. Am I missing something?

jahagirdar commented 3 years ago

My mistake, Script file name was same as module name...