Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ImportError: cannot import name 'codecs' #92

Closed
ghost opened this issue Feb 16, 2019 · 3 comments
Closed

ImportError: cannot import name 'codecs' #92

ghost opened this issue Feb 16, 2019 · 3 comments

Comments

@ghost
Copy link

ghost commented Feb 16, 2019

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
Copy link
Owner

dbrgn commented Feb 16, 2019

Python packaging sucks so much 🙄

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

dbrgn added a commit that referenced this issue Feb 16, 2019
@dbrgn
Copy link
Owner

dbrgn commented Feb 16, 2019

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

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

@dbrgn dbrgn closed this as completed Feb 16, 2019
@ghost
Copy link
Author

ghost commented Feb 16, 2019

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant