Open cooljimy84 opened 2 years ago
I ran into the same problem, this is likely because you're using Python 3.10. Try 3.9 instead.
Even though the documentation claims Mimic 3 is compatible with 3.7+, it does not appear to work with 3.10 currently. One of the possible causes for this is likely microsoft/onnxruntime#11680
A workaround for Python 3.10:
onnxruntime
: pip install ort-nightly
pip install --no-deps mycroft-mimic3-tts[all]
pip show mycroft-mimic3-tts
and install all the packages from the Requires:
list, that you don't already have. But not onnxruntime
.Thanks for flagging this - and the work around suggestions.
We'll take a look and see if we need to drop 3.10 as a supported version temporarily.
I tried building mimic3 on a raspberry pi 4 that I upgraded to raspian bullseye just now. python3 --version Python 3.9.2
pip show mycroft-mimic3-tts Name: mycroft-mimic3-tts Version: 0.2.3 Summary: A fast and local neural text to speech system for Mycroft Home-page: http://github.com/MycroftAI/mimic3 Author: Michael Hansen Author-email: michael.hansen@mycroft.ai License: AGPLv3+ Location: /home/pi/.venv/lib/python3.9/site-packages Requires: dataclasses-json, epitran, espeak-phonemizer, gruut, numpy, onnxruntime, phonemes2ids, quart, quart-cors, requests, swagger-ui-py, tqdm, xdgenvpy
mimic3
Traceback (most recent call last):
File "/home/pi/.venv/bin/mimic3", line 6, in
So - from what I see, onnxruntime is a requirement and despite using python 3.9 it doesn't build. I'm not that good with python, therefore I cannot help more..
Followup: pip3 install ort-nightly ERROR: Could not find a version that satisfies the requirement ort-nightly (from versions: none) ERROR: No matching distribution found for ort-nightly
Try this please:
pip install -f 'https://synesthesiam.github.io/prebuilt-apps/' ...
pip3 install -f 'https://synesthesiam.github.io/prebuilt-apps/' onnxruntime worked! Afterwards the whole call pip3 install mycroft-mimic3-tts[all] worked too! Now my raspi 4 can utter gb english with mimic 3! :-) Thx!
downgrade to python 3.9 helped me with this issue
If you get ValueError: 'editdistance/bycython.pyx' doesn't match any files
then try this:
mycroft-pip install git+https://github.com/roy-ht/editdistance.git@v0.6.2
Describe the bug Unable to install using the pip instructions on ubuntu 18.04
To Reproduce Steps to reproduce the behavior:
The conflict is caused by: mycroft-mimic3-tts 0.2.3 depends on quart<1.0 and >=0.16 mycroft-mimic3-tts 0.2.2 depends on quart<1.0 and >=0.16
To fix this you could try to:
Expected behavior A clear and concise description of what you expected to happen.
Log files If possible, add log files from
/var/log/mycroft/
to help explain your problem.You may also include screenshots, however screenshots of log files are often difficult to read and parse.
If you are running Mycroft, the Support Skill helps to automate gathering this information. Simply say "Create a support ticket" and the Skill will put together a support package and email it to you.
Environment (please complete the following information):