MycroftAI / mimic3

A fast local neural text to speech engine for Mycroft
GNU Affero General Public License v3.0
1.08k stars 103 forks source link

Install not working with python 3.11.3 #42

Open c-seeger opened 1 year ago

c-seeger commented 1 year ago

Describe the bug using python 3.11.3 version make install can not fulfill the

To Reproduce install python 3.11.3 make install

Expected behavior install should work

Log files

./install.sh
Creating virtual environment at /../mimic3/.venv (Python 3.11.3)
Installing Python dependencies
Looking in links: /../mimic3/wheels, https://synesthesiam.github.io/prebuilt-apps/
Requirement already satisfied: pip in ./.venv/lib/python3.11/site-packages (22.3.1)
Collecting pip
  Using cached pip-23.1.2-py3-none-any.whl (2.1 MB)
Installing collected packages: pip
  Attempting uninstall: pip
    Found existing installation: pip 22.3.1
    Uninstalling pip-22.3.1:
      Successfully uninstalled pip-22.3.1
Successfully installed pip-23.1.2
Looking in links: /home/cseeger/Others/git/AI/mimic3/wheels, https://synesthesiam.github.io/prebuilt-apps/
Collecting wheel
  Using cached wheel-0.40.0-py3-none-any.whl (64 kB)
Requirement already satisfied: setuptools in ./.venv/lib/python3.11/site-packages (65.5.0)
Collecting setuptools
  Using cached setuptools-67.7.2-py3-none-any.whl (1.1 MB)
Installing collected packages: wheel, setuptools
  Attempting uninstall: setuptools
    Found existing installation: setuptools 65.5.0
    Uninstalling setuptools-65.5.0:
      Successfully uninstalled setuptools-65.5.0
Successfully installed setuptools-67.7.2 wheel-0.40.0
~/Others/git/AI/mimic3 ~/Others/git/AI/mimic3
Looking in links: /home/cseeger/Others/git/AI/mimic3/wheels, https://synesthesiam.github.io/prebuilt-apps/
Obtaining file:///home/cseeger/Others/git/AI/mimic3
  Preparing metadata (setup.py) ... done
Collecting dataclasses-json<1.0 (from mycroft-mimic3-tts==0.2.5)
  Using cached dataclasses_json-0.5.7-py3-none-any.whl (25 kB)
Collecting epitran==1.17 (from mycroft-mimic3-tts==0.2.5)
  Using cached epitran-1.17-py2.py3-none-any.whl (153 kB)
Collecting espeak-phonemizer<2.0,>=1.0 (from mycroft-mimic3-tts==0.2.5)
  Using cached espeak_phonemizer-1.3.0.tar.gz (18 kB)
  Preparing metadata (setup.py) ... done
Collecting gruut<3.0,>=2.3.0 (from mycroft-mimic3-tts==0.2.5)
  Using cached gruut-2.3.4.tar.gz (74 kB)
  Preparing metadata (setup.py) ... done
Collecting numpy<2.0 (from mycroft-mimic3-tts==0.2.5)
  Using cached numpy-1.24.3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (17.3 MB)
INFO: pip is looking at multiple versions of mycroft-mimic3-tts[all] to determine which version is compatible with other requirements. This could take a while.
ERROR: Ignored the following versions that require a different python version: 1.21.2 Requires-Python >=3.7,<3.11; 1.21.3 Requires-Python >=3.7,<3.11; 1.21.4 Requires-Python >=3.7,<3.11; 1.21.5 Requires-Python >=3.7,<3.11; 1.21.6 Requires-Python >=3.7,<3.11
ERROR: Could not find a version that satisfies the requirement onnxruntime<2.0,>=1.6 (from mycroft-mimic3-tts[all]) (from versions: none)
ERROR: No matching distribution found for onnxruntime<2.0,>=1.6
make: *** [Makefile:32: install] Error 1

Environment (please complete the following information):

goldyfruit commented 1 year ago

I built onnxruntime for Python 3.11.x on x86_64 and aarch64, the wheel packages are available here: https://whl.smartgic.io/

This is what I'm using here: https://github.com/OpenVoiceOS/ovos-docker/blob/dev/listener/Dockerfile#L28