dbrgn / RPLCD

A Raspberry Pi LCD library for the widely used Hitachi HD44780 controller, written in Python. GPIO (parallel) and I²C modes supported.
https://rplcd.readthedocs.io/en/latest/
MIT License
262 stars 72 forks source link

ImportError: cannot import name 'codecs' #92

Closed ghost closed 5 years ago

ghost commented 5 years ago

I think there is the same issue in 1.21 as in #46

File "/usr/local/lib/python3.5/dist-packages/RPLCD/lcd.py", line 27, in from . import codecs ImportError: cannot import name 'codecs'

dbrgn commented 5 years ago

Python packaging sucks so much :roll_eyes:

Yep, you're right. The codecs directory is not included in the package. I'll try to fix it.

dbrgn commented 5 years ago

The bug was introduced in 5e19003. Fixed in 0aec598.

I'll release 1.2.2 in a few minutes. Thanks for the report @hsowa!

ghost commented 5 years ago

Many thanks... best wishes to switzerland...