I'm very new to Python, but familar with C languages and Java. I recently bought the Pi Plate and now got it work with the Tutorial as well.
Because i don't like to always copy the CharLCDPlate.py and the other two Libraries I installed the Adafruit_Libraries via pip.
But when I now try to import the CharLCDPlate.py I get an Error saying:
Code: Select all
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/local/lib/python2.7/dist-packages/Adafruit/CharLCDPlate/Adafruit_CharLCDPlate.py", line 14, in <module>
class Adafruit_CharLCDPlate(Adafruit_I2C):
TypeError: Error when calling the metaclass bases
module.__init__() takes at most 2 arguments (3 given)
Code: Select all
from Adafruit.CharLCDPlate import Adafruit_CharLCDPlate