OpenVoiceOS / ovos-tts-plugin-mimic3

Text to speech plugin for OVOS using Mimic 3
GNU Affero General Public License v3.0
2 stars 3 forks source link

Cannot install because these package versions have conflicting dependencies. #7

Closed goldyfruit closed 1 year ago

goldyfruit commented 1 year ago

When I try to install ovos-tts-plugin-mimic3, I got the error below.

(.venv) ovos@stronghold:~$ pip install ovos-tts-plugin-mimic3[all]
Collecting ovos-tts-plugin-mimic3[all]
  Using cached ovos_tts_plugin_mimic3-0.0.0-py3-none-any.whl (21 kB)
Collecting mycroft-mimic3-tts<1.0
  Using cached mycroft_mimic3_tts-0.2.4.tar.gz (131 kB)
  Preparing metadata (setup.py) ... done
Collecting dataclasses-json<1.0
  Using cached dataclasses_json-0.5.7-py3-none-any.whl (25 kB)
Collecting epitran==1.17
  Using cached epitran-1.17-py2.py3-none-any.whl (153 kB)
Collecting espeak-phonemizer<2.0,>=1.0
  Using cached espeak_phonemizer-1.1.0.tar.gz (18 kB)
  Preparing metadata (setup.py) ... done
Collecting gruut<3.0,>=2.3.0
  Using cached gruut-2.3.4.tar.gz (74 kB)
  Preparing metadata (setup.py) ... done
Collecting numpy<2.0
  Using cached numpy-1.24.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (17.3 MB)
Collecting mycroft-mimic3-tts<1.0
  Using cached mycroft_mimic3_tts-0.2.3.tar.gz (130 kB)
  Preparing metadata (setup.py) ... done
  Using cached mycroft_mimic3_tts-0.2.2.tar.gz (130 kB)
  Preparing metadata (setup.py) ... done
INFO: pip is looking at multiple versions of ovos-tts-plugin-mimic3[all] to determine which version is compatible with other requirements. This could take a while.
ERROR: Cannot install ovos-tts-plugin-mimic3 because these package versions have conflicting dependencies.

The conflict is caused by:
    mycroft-mimic3-tts 0.2.4 depends on onnxruntime<2.0 and >=1.6
    mycroft-mimic3-tts 0.2.3 depends on onnxruntime<2.0 and >=1.6
    mycroft-mimic3-tts 0.2.2 depends on onnxruntime<2.0 and >=1.6

To fix this you could try to:
1. loosen the range of package versions you've specified
2. remove package versions to allow pip attempt to solve the dependency conflict

ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts
goldyfruit commented 1 year ago

I'm wondering if it's the same issue as here: https://community.mycroft.ai/t/mycroft-rpi4-arm64-mimic3/12296

goldyfruit commented 1 year ago

Yeah, I've to build onnxruntime for Python 3.11, sorry for the noise...