juhasch / pyBusPirateLite

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

TypeError: super() takes at least 1 argument (0 given) #10

Open riverar opened 6 years ago

riverar commented 6 years ago

Using latest master. Looks like this requires Python 3, might be worth noting.

Python 2.7.14 (v2.7.14:84471935ed, Sep 16 2017, 20:25:58) [MSC v.1500 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> from pyBusPirateLite.I2C import *
>>> I2C()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "pyBusPirateLite\I2C.py", line 55, in __init__
    super().__init__()
TypeError: super() takes at least 1 argument (0 given)
juhasch commented 6 years ago

You are correct, I assume Python 3. Thanks for noticing, I will add a note.

riverar commented 6 years ago

Heads up: I ran into other problems and ultimately abandoned this project. Doesn't seem to work properly at all, might be worth testing when you have some free time.

averri commented 6 years ago

That's true, @riverar. This is a great project, unfortunately, it has few blocking issues.

juhasch commented 5 years ago

Should work now.