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

Bug with precise-train-incremental: "AttributeError: 'str' object has no attribute 'decode'" #2

Open
secretsauceai opened this issue Dec 30, 2021 · 1 comment
Labels
bug Something isn't working

Comments

@secretsauceai
Copy link
Owner

This is the same issue as here:
https://stackoverflow.com/questions/53740577/does-any-one-got-attributeerror-str-object-has-no-attribute-decode-whi

The solution of downgrading h5py to 2.10 works: pip install 'h5py==2.10.0' --force-reinstall. However it would be good to actually solve this in the requirements.txt or otherwise.

@secretsauceai secretsauceai added the bug Something isn't working label Dec 30, 2021
skewballfox added a commit that referenced this issue Jan 29, 2022
@Bernben
Copy link

Bernben commented Mar 3, 2023

Maybe someone will be glad as me as i found this hint.
Follow this guide:
https://www.digikey.lv/en/maker/projects/how-to-create-a-custom-wake-word-for-mycroft-ai/3f0b7486b9804687b6a9e5164ee4cf99

Install it on Ubuntu 18 && increment to python 3.7
Then modify setup.py with h5py==2.10.0
After running ./setup.sh:

pip install protobuf==3.20.*

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants