-
Notifications
You must be signed in to change notification settings - Fork 8
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
Dependency conflict installing plugin through mycroft-pip #1
Comments
I am new to MyCroft as I had a RPi4 laying around not doing anything so I figured I'd check it out. I started off with the PiCroft image and had the same issue when I went to check out Mimic3. I found a community post talking about being on a 32-bit ARM OS, and that I would need to install the wheel from his repository which had multiple versions. I was able to do so by downloading "onnxruntime-1.9.1-cp37-cp37m-linux_armv7l.whl" using But of course it still didn't work! I then ran into other issues afterwards because the PiCroft image is based on Buster and libstdc++6 isn't up to date and you run into another dependency error when trying to use it. It needs libstdc++6.0.26 and only 6.0.25 is loaded based on the libstdc++6 that is available in the buster repository. You can verify this by looking through the /var/logs/mycroft/audio.log file when the service is starting. I downloaded 6.0.28 manually (since I couldn't find 6.0.26) and put it in the same folder (/usr/lib/arm-linux-gnueabihf/ IIRC) and changed the symlink to point to it and restarted the service. I just ended up with another set of errors popping up in the logs and defaulting back to Mimic 1. I guess you could try and do a release upgrade to bullseye to see if this would resolve itself, but I prefer to keep things simple. So I then scrapped everything and installed the 64-bit Raspbian OS based on bullseye and then followed the instructions for installing MyCroft on linux by using git to clone the repo and used the .sh script to install. Once installed, started up mycroft and made sure everything was working and paired it with my account, used I have also found that the wake detection is much snappier using the 64-bit OS, but the RTF is not that great on the Pi4 like the Wiki says. I am currently trying to figure out how to make MyCroft use the Mimic 3 instance I have running on my R420 using docker instead so I can get faster responses. I can use the Marytts plugin and point it to my server, but then you can't choose the speaker, you just get the default speaker. It is really isn't that slow on the Pi4 using the cmu-arctic_low, but I think the hifi-tts_low sounds better and my server can get an RTF of about .12 without any GPU support. TL;DR: The current PiCroft image is 32-bit and the onnxruntime package is not readily available for 32-bit OS's. Ideally PiCroft should be updated to Raspbian 64-bit (based on Bullseye) so that the onnxruntime is installed automatically and there is no follow on libstdc++6 dependency issues. |
Upon running
mycroft-pip install mycroft-plugin-tts-mimic3
the following error occurs:
I am running a fully updated version of picroft on a Pi4 (32bit)
Full output
The text was updated successfully, but these errors were encountered: