Code Monkey home page Code Monkey logo

baxtree / subaligner Goto Github PK

View Code? Open in Web Editor NEW
434.0 16.0 19.0 105.21 MB

Automatically synchronize and translate subtitles, or create new ones by transcribing, using pre-trained DNNs, Forced Alignments and Transformers. https://subaligner.readthedocs.io/

Home Page: https://hub.docker.com/r/baxtree/subaligner

License: MIT License

Makefile 2.23% Python 91.81% SRecode Template 0.01% Gherkin 5.58% Shell 0.03% Smarty 0.35%
subtitles captions alignment subrip ttml voice-activity-detection subtitle-synchronization webvtt substation-alpha microdvd

subaligner's People

Contributors

baxtree avatar snyk-bot avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

subaligner's Issues

Perhaps a N00b mistake, but what am I doing wrong here? I cannot install ANY optional addons, such as translated, which I really want.

Issue Template

First of all, thank you for finding the bugs. Please help us improve Subaligner by providing the bug report as much as possible in the following format.

###Describe the bug
I cannot install any (optional) installations.

###To Reproduce
Typing what I shared in the image

###Expected behavior
The installation as per the guide

###Screenshots and logs
image

###Media files
N/A

###Desktop (please complete the following information):

  • Windows 11 - 22H2
  • Python 3.11 (as installed in the Conda environment I'm running this inside of)

###Additional context
Any help is appreciated, thank you.

[Questions] Will this work on cut content?

I was wondering how this works on cut content. If you want to align subtitles of a directors cut to a TV version for example. Will subaligner remove lines that are not present in the TV version?

I would also like to know if audio fingerprinting is used somewhere in the process of aligning?

Thank you ๐Ÿ‘

RuntimeErrors when running in docker

Describe the bug

When using Subaligner in dual mode for a short audio file (6min) inside docker, it timed out with multiple Python RuntimeError exception and failed to generate an aligned subtitle.

To Reproduce

The audio file recording_CS102E_140.wav and the subtitle file new.srt is placed in the given path (c/Temporary/audio_text_alignment), but are later copied to home directory for better IO perfor

  1. Run docker run -v "/c/Temporary/audio_text_alignment":/media -w "/media" -it baxtree/subaligner bash
  2. Run cp new.srt recording_CS102E_140.wav ~/
  3. Run cd ~
  4. Run subaligner -m dual -v recording_CS102E_140.wav -s new.srt

Expected behavior

Generate an aligned subtitle file.

Screenshots and logs

image

subaligner.predictor - ERROR - MainThread - Segment alignment timed out after 60 seconds
RuntimeError: module compiled against API version 0xe but this version of numpy is 0xd
subaligner.predictor - INFO - ThreadPoolExecutor-0_0 - [ThreadPoolExecutor-0_0] Segment 0 stretched
  File "/usr/local/lib/python3.8/dist-packages/subaligner/__main__.py", line 196, in main
    aligned_subs, subs, voice_probabilities, frame_rate = predictor.predict_dual_pass(
  File "/usr/local/lib/python3.8/dist-packages/subaligner/predictor.py", line 122, in predict_dual_pass
    new_subs = self.__predict_2nd_pass(
  File "/usr/local/lib/python3.8/dist-packages/subaligner/predictor.py", line 302, in __predict_2nd_pass
    raise TerminalException(message) from e

output.log
stderr.log
stdout.log

Media files

audio_text_alignment.zip
Note: see additional context

Environment

  • Operating System: Windows 10 x64 20H2 (with Docker Desktop v3.2.2(61853), Engine 20.10.5)
  • Python Version: 3.8.6 (checked from inside docker)
  • CUDA: No cuda support on machine
  • Docker Image info
    REPOSITORY           TAG       IMAGE ID       CREATED        SIZE
    baxtree/subaligner   latest    580481074d20   3 days ago     2.92GB
    

Additional context

The task I am having is that I need to split a large sentence into multiple smaller ones, as I describe in #49 . To do that, I simply cut the sentence based on length and remained the start and end timestamp. The one named recording_CS102E_140.srt is the original one and the one named new.srt is the one I manually cut.

Cannot install under Windows

###Describe the bug
Cannot install in Windows 10

###To Reproduce
pip install subaligner

###Expected behavior
Install success.

###Screenshots and logs
full pip log :
piplog4.txt

###Media files
Sharing your audiovisual files and subtitle files may help with debugging. Make sure they don't contain any private or sensitive data before sharing.

###Desktop (please complete the following information):

  • Operating System : Win 10
  • Python Version : 3.11.4

###Additional context
I think some library scipy or numpy cannot be found already compiled and downloaded, so python tries to compile it from source code, but does not have fortran compiler?

Text to Audio alignment in different language

Hello,

thank you for this nice tool!

I am trying to align matching text and audio files, both in the same language, which is not English.

Is there a way so I could use this library to this alignment? Is there a way to change epeak language option from cli?
And if so is that enough, or do I need to retrain the model?

Thank you!

[Suggestion] Escape single quotes for ffmpeg

Hi, I'm using this package to train a model on a large media library. I've modified things to suit my use case but wanted to suggest that single quotes be escaped in the master branch.

A huge number of my files have single quotes in the name and it seems like a fairly simple change. I simply add this to my path strings and the subtitle and audio extraction scripts complete successfully.
.replace("'", r"'\''")

Hopefully we can incorporate it in the main branch and help out others who might have a lot of apostrophes in their file names! Great work by the way :)

[Question] Synchronize Translation

Hello, I've been trying for days to find a way to automatically synchronize the translation of a subtitle that its original language is English and I want to translate it into Portuguese.
Executing the command
subaligner -m script -v teste.mp4 -s joao.txt -o subtitle_aligned.srt -t eng,por
I got the following error:
ERROR: Cannot find the MT model for source language "eng" and destination language "por"

So I believe that unfortunately the Portuguese language is not available, is there a possibility to add it? Or currently there is no model for the Portuguese language.

If you have any extra strategies for synchronizing a translated subtitle, I would be extremely grateful if you could share them with me. The big problem is that for the translation to be done correctly it needs context, so I need the text to be placed in the translator in a clean way, just the text (no line breaks and stuff) and somehow need some reference to the subtitle number or time for it to be synchronized, but unfortunately ALL the strategies I used, the translator at some point removes my reference.
Some strategies I used:

1. Hello, 2. how are you?
[1] Hello, [2] how are you?
Hello, :: how are you?
Hello, // how are you?

Thanks.

[Suggestion] Use embeded subtitles for training model if present

Hello, I use your official docker container, and noticed that subaligner_train uses separate video and subtitles, right now i have to run separate script to extract the subtitles from video files rename them to be same as original video file, and then run the training model.

If it possible could you add support to use embedded subtitles?

Thank you.

Errors

Hello,

I installed subaligner with pip and with docker. Both aren't working.

This is the error I get when using it with pip. Command: subaligner -m dual -v "/srv/86328239-e681-4586-8c7b-bf01e82bce9e/TvShows/Better Call Saul/Season 2/Better Call Saul - 2x02 - Cobbler.mkv" -s "/srv/86328239-e681-4586-8c7b-bf01e82bce9e/TvShows/Better Call Saul/Season 2/Better Call Saul - 2x02 - Cobbler.en.srt" -o "/srv/86328239-e681-4586-8c7b-bf01e82bce9e/TvShows/Better Call Saul/Season 2/Better Call Saul - 2x02 - Cobbler.en.srt"

image

This is the error I get with docker. Command: docker run -v pwd:pwd -w pwd -it baxtree/subaligner subaligner_2pass -v "/srv/86328239-e681-4586-8c7b-bf01e82bce9e/TvShows/Better Call Saul/Season 2/Better Call Saul - 2x02 - Cobbler.mkv" -s "/srv/86328239-e681-4586-8c7b-bf01e82bce9e/TvShows/Better Call Saul/Season 2/Better Call Saul - 2x02 - Cobbler.en.srt"

image

Problem running inside docker windows

I'm trying to use Docker for Windows but I'm encountering the following error:

subaligner -m single -v frutobom.mp4 -s 09072023frutobom.srt
2023-07-09 14:34:13.774759: I tensorflow/tsl/cuda/cudart_stub.cc:28] Could not find cuda drivers on your machine, GPU will not be used.
2023-07-09 14:34:13.901699: I tensorflow/tsl/cuda/cudart_stub.cc:28] Could not find cuda drivers on your machine, GPU will not be used.
2023-07-09 14:34:13.905048: I tensorflow/core/platform/cpu_feature_guard.cc:182] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations.
To enable the following instructions: AVX2 FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags.
2023-07-09 14:34:18.258052: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Could not find TensorRT
ffmpeg -y -xerror -i "frutobom.mp4" -ac 2 -ar 16000 -vn "/tmp/tmp8eil4961/frutobom.mp4.wav"
subaligner.media_helper - INFO - MainThread - [48] Extracted audio file: /tmp/tmp8eil4961/frutobom.mp4.wav
ERROR: [Errno 2] No such file or directory: '09072023frutobom.srt'

  File "/usr/local/lib/python3.8/dist-packages/subaligner/__main__.py", line 303, in main
    aligned_subs, audio_file_path, voice_probabilities, frame_rate = predictor.predict_single_pass(
  File "/usr/local/lib/python3.8/dist-packages/subaligner/predictor.py", line 78, in predict_single_pass
    subs, audio_file_path, voice_probabilities = self.__predict(
  File "/usr/local/lib/python3.8/dist-packages/subaligner/predictor.py", line 751, in __predict
    subs = Subtitle.load(subtitle_file_path).subs
  File "/usr/local/lib/python3.8/dist-packages/subaligner/subtitle.py", line 292, in load
    return cls(cls.__secret, subtitle_file_path, "subrip")
  File "/usr/local/lib/python3.8/dist-packages/subaligner/subtitle.py", line 61, in __init__
    self.__subs = self.__load_subrip(subtitle_file_path)
  File "/usr/local/lib/python3.8/dist-packages/subaligner/subtitle.py", line 517, in __load_subrip
    return Subtitle.__get_srt_subs(subrip_file_path)
  File "/usr/local/lib/python3.8/dist-packages/subaligner/subtitle.py", line 726, in __get_srt_subs
    encoding = Utils.detect_encoding(subrip_file_path)
  File "/usr/local/lib/python3.8/dist-packages/subaligner/utils.py", line 592, in detect_encoding
    with open(subtitle_file_path, "rb") as file:

Running through Docker shouldn't require all the requirements installed? Do I need to prepare anything in the machine environment to run the subaligner Docker image?

install failed under python 3.9 virtual env

$ pip install 'subaligner[harmony]'
Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple
Requirement already satisfied: subaligner[harmony] in /home/focus/env/lib/python3.9/site-packages (0.3.5)
Requirement already satisfied: numba>=0.50.0 in /home/focus/env/lib/python3.9/site-packages (from subaligner[harmony]) (0.58.1)
Requirement already satisfied: pydot==1.2.4 in /home/focus/env/lib/python3.9/site-packages (from subaligner[harmony]) (1.2.4)
Requirement already satisfied: le-pycaption==2.2.0a1 in /home/focus/env/lib/python3.9/site-packages (from subaligner[harmony]) (2.2.0a1)
Requirement already satisfied: certifi==2019.11.28 in /home/focus/env/lib/python3.9/site-packages (from subaligner[harmony]) (2019.11.28)
Requirement already satisfied: six~=1.15.0 in /home/focus/env/lib/python3.9/site-packages (from subaligner[harmony]) (1.15.0)
Requirement already satisfied: zict==0.1.3 in /home/focus/env/lib/python3.9/site-packages (from subaligner[harmony]) (0.1.3)
Requirement already satisfied: scipy<=1.8.1 in /home/focus/env/lib/python3.9/site-packages (from subaligner[harmony]) (1.8.1)
Requirement already satisfied: oauthlib==3.1.0 in /home/focus/env/lib/python3.9/site-packages (from subaligner[harmony]) (3.1.0)
Requirement already satisfied: HeapDict==1.0.0 in /home/focus/env/lib/python3.9/site-packages (from subaligner[harmony]) (1.0.0)
Requirement already satisfied: rsa==4.7 in /home/focus/env/lib/python3.9/site-packages (from subaligner[harmony]) (4.7)
Requirement already satisfied: pyasn1==0.4.8 in /home/focus/env/lib/python3.9/site-packages (from subaligner[harmony]) (0.4.8)
Requirement already satisfied: html5lib==1.0b9 in /home/focus/env/lib/python3.9/site-packages (from subaligner[harmony]) (1.0b9)
Requirement already satisfied: toolz==0.9.0 in /home/focus/env/lib/python3.9/site-packages (from subaligner[harmony]) (0.9.0)
Requirement already satisfied: pycountry~=20.7.3 in /home/focus/env/lib/python3.9/site-packages (from subaligner[harmony]) (20.7.3)
Requirement already satisfied: chardet~=3.0.4 in /home/focus/env/lib/python3.9/site-packages (from subaligner[harmony]) (3.0.4)
Requirement already satisfied: bleach==3.3.0 in /home/focus/env/lib/python3.9/site-packages (from subaligner[harmony]) (3.3.0)
Requirement already satisfied: tornado==5.1.0 in /home/focus/env/lib/python3.9/site-packages (from subaligner[harmony]) (5.1)
Requirement already satisfied: pysrt==1.1.1 in /home/focus/env/lib/python3.9/site-packages (from subaligner[harmony]) (1.1.1)
Requirement already satisfied: py==1.10.0 in /home/focus/env/lib/python3.9/site-packages (from subaligner[harmony]) (1.10.0)
Requirement already satisfied: pbr==4.0.2 in /home/focus/env/lib/python3.9/site-packages (from subaligner[harmony]) (4.0.2)
Requirement already satisfied: google-pasta~=0.2 in /home/focus/env/lib/python3.9/site-packages (from subaligner[harmony]) (0.2.0)
Requirement already satisfied: tblib==1.3.2 in /home/focus/env/lib/python3.9/site-packages (from subaligner[harmony]) (1.3.2)
Requirement already satisfied: beautifulsoup4<4.9.0 in /home/focus/env/lib/python3.9/site-packages (from subaligner[harmony]) (4.8.2)
Requirement already satisfied: pytz==2018.4 in /home/focus/env/lib/python3.9/site-packages (from subaligner[harmony]) (2018.4)
Requirement already satisfied: urllib3~=1.26.5 in /home/focus/env/lib/python3.9/site-packages (from subaligner[harmony]) (1.26.18)
Requirement already satisfied: termcolor==1.1.0 in /home/focus/env/lib/python3.9/site-packages (from subaligner[harmony]) (1.1.0)
Requirement already satisfied: networkx>=2.5.1 in /home/focus/env/lib/python3.9/site-packages (from subaligner[harmony]) (3.2.1)
Requirement already satisfied: idna==2.8 in /home/focus/env/lib/python3.9/site-packages (from subaligner[harmony]) (2.8)
Requirement already satisfied: tensorflow<2.13,>=1.15.5 in /home/focus/env/lib/python3.9/site-packages (from subaligner[harmony]) (2.12.1)
Requirement already satisfied: h5py<4.0.0 in /home/focus/env/lib/python3.9/site-packages (from subaligner[harmony]) (3.10.0)
Requirement already satisfied: cloudpickle~=1.6.0 in /home/focus/env/lib/python3.9/site-packages (from subaligner[harmony]) (1.6.0)
Requirement already satisfied: pydotplus==2.0.2 in /home/focus/env/lib/python3.9/site-packages (from subaligner[harmony]) (2.0.2)
Requirement already satisfied: scikit-learn<1.2.0 in /home/focus/env/lib/python3.9/site-packages (from subaligner[harmony]) (1.1.3)
Requirement already satisfied: cachetools==3.1.1 in /home/focus/env/lib/python3.9/site-packages (from subaligner[harmony]) (3.1.1)
Requirement already satisfied: pyprof2calltree==1.4.3 in /home/focus/env/lib/python3.9/site-packages (from subaligner[harmony]) (1.4.3)
Requirement already satisfied: click==5.1 in /home/focus/env/lib/python3.9/site-packages (from subaligner[harmony]) (5.1)
Requirement already satisfied: filelock<4.0.0 in /home/focus/env/lib/python3.9/site-packages (from subaligner[harmony]) (3.13.1)
Requirement already satisfied: pysubs2<=1.4.2 in /home/focus/env/lib/python3.9/site-packages (from subaligner[harmony]) (1.4.2)
Requirement already satisfied: Markdown==2.6.11 in /home/focus/env/lib/python3.9/site-packages (from subaligner[harmony]) (2.6.11)
Requirement already satisfied: PyYAML>=4.2b1 in /home/focus/env/lib/python3.9/site-packages (from subaligner[harmony]) (6.0.1)
Requirement already satisfied: Werkzeug>=0.15.3 in /home/focus/env/lib/python3.9/site-packages (from subaligner[harmony]) (3.0.1)
Requirement already satisfied: mccabe==0.6.1 in /home/focus/env/lib/python3.9/site-packages (from subaligner[harmony]) (0.6.1)
Requirement already satisfied: captionstransformer~=1.2.1 in /home/focus/env/lib/python3.9/site-packages (from subaligner[harmony]) (1.2.1)
Requirement already satisfied: librosa<0.10.0 in /home/focus/env/lib/python3.9/site-packages (from subaligner[harmony]) (0.9.2)
Requirement already satisfied: pkgconfig~=1.5.5 in /home/focus/env/lib/python3.9/site-packages (from subaligner[harmony]) (1.5.5)
Requirement already satisfied: pyasn1-modules==0.2.7 in /home/focus/env/lib/python3.9/site-packages (from subaligner[harmony]) (0.2.7)
Requirement already satisfied: Keras-Applications>=1.0.8 in /home/focus/env/lib/python3.9/site-packages (from subaligner[harmony]) (1.0.8)
Requirement already satisfied: cycler==0.10.0 in /home/focus/env/lib/python3.9/site-packages (from subaligner[harmony]) (0.10.0)
Requirement already satisfied: astor==0.7.1 in /home/focus/env/lib/python3.9/site-packages (from subaligner[harmony]) (0.7.1)
Requirement already satisfied: hyperopt==0.2.4 in /home/focus/env/lib/python3.9/site-packages (from subaligner[harmony]) (0.2.4)
Requirement already satisfied: Keras-Preprocessing>=1.0.9 in /home/focus/env/lib/python3.9/site-packages (from subaligner[harmony]) (1.1.2)
Requirement already satisfied: joblib>=1.2.0 in /home/focus/env/lib/python3.9/site-packages (from subaligner[harmony]) (1.3.2)
Requirement already satisfied: pystack-debugger==0.8.0 in /home/focus/env/lib/python3.9/site-packages (from subaligner[harmony]) (0.8.0)
Requirement already satisfied: toml==0.10.0 in /home/focus/env/lib/python3.9/site-packages (from subaligner[harmony]) (0.10.0)
Requirement already satisfied: pluggy==0.13.1 in /home/focus/env/lib/python3.9/site-packages (from subaligner[harmony]) (0.13.1)
Requirement already satisfied: isort==4.3.4 in /home/focus/env/lib/python3.9/site-packages (from subaligner[harmony]) (4.3.4)
Requirement already satisfied: pydot-ng==1.0.0 in /home/focus/env/lib/python3.9/site-packages (from subaligner[harmony]) (1.0.0)
Requirement already satisfied: graphviz==0.8.3 in /home/focus/env/lib/python3.9/site-packages (from subaligner[harmony]) (0.8.3)
Requirement already satisfied: distributed==1.13.0 in /home/focus/env/lib/python3.9/site-packages (from subaligner[harmony]) (1.13.0)
Requirement already satisfied: locket==0.2.0 in /home/focus/env/lib/python3.9/site-packages (from subaligner[harmony]) (0.2.0)
Requirement already satisfied: numpy<1.24.0 in /home/focus/env/lib/python3.9/site-packages (from subaligner[harmony]) (1.23.5)
Requirement already satisfied: decorator==4.3.0 in /home/focus/env/lib/python3.9/site-packages (from subaligner[harmony]) (4.3.0)
Requirement already satisfied: openai-whisper==20230314; extra == "harmony" in /home/focus/env/lib/python3.9/site-packages (from subaligner[harmony]) (20230314)
Collecting aeneas~=1.7.3.0; extra == "harmony"
Using cached https://pypi.tuna.tsinghua.edu.cn/packages/e5/92/88d421001bb257588df4864ceca24d570e2e822db4f40f48737a78b648b2/aeneas-1.7.3.0.tar.gz (5.5 MB)
Requirement already satisfied: transformers<4.27.0; extra == "harmony" in /home/focus/env/lib/python3.9/site-packages (from subaligner[harmony]) (4.26.1)
Requirement already satisfied: sentencepiece~=0.1.95; extra == "harmony" in /home/focus/env/lib/python3.9/site-packages (from subaligner[harmony]) (0.1.99)
Requirement already satisfied: torch<1.13.0; extra == "harmony" in /home/focus/env/lib/python3.9/site-packages (from subaligner[harmony]) (1.12.1)
Requirement already satisfied: llvmlite<0.42,>=0.41.0dev0 in /home/focus/env/lib/python3.9/site-packages (from numba>=0.50.0->subaligner[harmony]) (0.41.1)
Requirement already satisfied: pyparsing>=2.1.4 in /home/focus/env/lib/python3.9/site-packages (from pydot==1.2.4->subaligner[harmony]) (3.1.1)
Requirement already satisfied: lxml>=3.2.3 in /home/focus/env/lib/python3.9/site-packages (from le-pycaption==2.2.0a1->subaligner[harmony]) (4.9.3)
Requirement already satisfied: future in /home/focus/env/lib/python3.9/site-packages (from le-pycaption==2.2.0a1->subaligner[harmony]) (0.18.3)
Requirement already satisfied: cssutils>=0.9.10 in /home/focus/env/lib/python3.9/site-packages (from le-pycaption==2.2.0a1->subaligner[harmony]) (2.9.0)
Requirement already satisfied: setuptools>=18.5 in /home/focus/env/lib/python3.9/site-packages (from html5lib==1.0b9->subaligner[harmony]) (59.8.0)
Requirement already satisfied: webencodings in /home/focus/env/lib/python3.9/site-packages (from html5lib==1.0b9->subaligner[harmony]) (0.5.1)
Requirement already satisfied: packaging in /home/focus/env/lib/python3.9/site-packages (from bleach==3.3.0->subaligner[harmony]) (23.2)
Requirement already satisfied: soupsieve>=1.2 in /home/focus/env/lib/python3.9/site-packages (from beautifulsoup4<4.9.0->subaligner[harmony]) (2.5)
Requirement already satisfied: flatbuffers>=2.0 in /home/focus/env/lib/python3.9/site-packages (from tensorflow<2.13,>=1.15.5->subaligner[harmony]) (23.5.26)
Requirement already satisfied: gast<=0.4.0,>=0.2.1 in /home/focus/env/lib/python3.9/site-packages (from tensorflow<2.13,>=1.15.5->subaligner[harmony]) (0.4.0)
Requirement already satisfied: tensorflow-io-gcs-filesystem>=0.23.1; platform_machine != "arm64" or platform_system != "Darwin" in /home/focus/env/lib/python3.9/site-packages (from tensorflow<2.13,>=1.15.5->subaligner[harmony]) (0.34.0)
Requirement already satisfied: libclang>=13.0.0 in /home/focus/env/lib/python3.9/site-packages (from tensorflow<2.13,>=1.15.5->subaligner[harmony]) (16.0.6)
Requirement already satisfied: jax>=0.3.15 in /home/focus/env/lib/python3.9/site-packages (from tensorflow<2.13,>=1.15.5->subaligner[harmony]) (0.4.20)
Requirement already satisfied: typing-extensions<4.6.0,>=3.6.6 in /home/focus/env/lib/python3.9/site-packages (from tensorflow<2.13,>=1.15.5->subaligner[harmony]) (3.10.0.2)
Requirement already satisfied: tensorboard<2.13,>=2.12 in /home/focus/env/lib/python3.9/site-packages (from tensorflow<2.13,>=1.15.5->subaligner[harmony]) (2.12.3)
Requirement already satisfied: opt-einsum>=2.3.2 in /home/focus/env/lib/python3.9/site-packages (from tensorflow<2.13,>=1.15.5->subaligner[harmony]) (3.3.0)
Requirement already satisfied: grpcio<2.0,>=1.24.3 in /home/focus/env/lib/python3.9/site-packages (from tensorflow<2.13,>=1.15.5->subaligner[harmony]) (1.59.3)
Requirement already satisfied: keras<2.13,>=2.12.0 in /home/focus/env/lib/python3.9/site-packages (from tensorflow<2.13,>=1.15.5->subaligner[harmony]) (2.12.0)
Requirement already satisfied: wrapt<1.15,>=1.11.0 in /home/focus/env/lib/python3.9/site-packages (from tensorflow<2.13,>=1.15.5->subaligner[harmony]) (1.14.1)
Requirement already satisfied: tensorflow-estimator<2.13,>=2.12.0 in /home/focus/env/lib/python3.9/site-packages (from tensorflow<2.13,>=1.15.5->subaligner[harmony]) (2.12.0)
Requirement already satisfied: astunparse>=1.6.0 in /home/focus/env/lib/python3.9/site-packages (from tensorflow<2.13,>=1.15.5->subaligner[harmony]) (1.6.3)
Requirement already satisfied: absl-py>=1.0.0 in /home/focus/env/lib/python3.9/site-packages (from tensorflow<2.13,>=1.15.5->subaligner[harmony]) (2.0.0)
Requirement already satisfied: protobuf!=4.21.0,!=4.21.1,!=4.21.2,!=4.21.3,!=4.21.4,!=4.21.5,<5.0.0dev,>=3.20.3 in /home/focus/env/lib/python3.9/site-packages (from tensorflow<2.13,>=1.15.5->subaligner[harmony]) (4.25.1)
Requirement already satisfied: threadpoolctl>=2.0.0 in /home/focus/env/lib/python3.9/site-packages (from scikit-learn<1.2.0->subaligner[harmony]) (3.2.0)
Requirement already satisfied: MarkupSafe>=2.1.1 in /home/focus/env/lib/python3.9/site-packages (from Werkzeug>=0.15.3->subaligner[harmony]) (2.1.3)
Requirement already satisfied: pooch>=1.0 in /home/focus/env/lib/python3.9/site-packages (from librosa<0.10.0->subaligner[harmony]) (1.8.0)
Requirement already satisfied: resampy>=0.2.2 in /home/focus/env/lib/python3.9/site-packages (from librosa<0.10.0->subaligner[harmony]) (0.4.2)
Requirement already satisfied: audioread>=2.1.9 in /home/focus/env/lib/python3.9/site-packages (from librosa<0.10.0->subaligner[harmony]) (3.0.1)
Requirement already satisfied: soundfile>=0.10.2 in /home/focus/env/lib/python3.9/site-packages (from librosa<0.10.0->subaligner[harmony]) (0.12.1)
Requirement already satisfied: tqdm in /home/focus/env/lib/python3.9/site-packages (from hyperopt==0.2.4->subaligner[harmony]) (4.66.1)
Requirement already satisfied: dask>=0.11.0 in /home/focus/env/lib/python3.9/site-packages (from distributed==1.13.0->subaligner[harmony]) (2023.12.0)
Requirement already satisfied: msgpack-python in /home/focus/env/lib/python3.9/site-packages (from distributed==1.13.0->subaligner[harmony]) (0.5.6)
Requirement already satisfied: psutil in /home/focus/env/lib/python3.9/site-packages (from distributed==1.13.0->subaligner[harmony]) (5.9.6)
Requirement already satisfied: tiktoken==0.3.1 in /home/focus/env/lib/python3.9/site-packages (from openai-whisper==20230314; extra == "harmony"->subaligner[harmony]) (0.3.1)
Requirement already satisfied: triton==2.0.0 in /home/focus/env/lib/python3.9/site-packages (from openai-whisper==20230314; extra == "harmony"->subaligner[harmony]) (2.0.0)
Requirement already satisfied: more-itertools in /home/focus/env/lib/python3.9/site-packages (from openai-whisper==20230314; extra == "harmony"->subaligner[harmony]) (10.1.0)
Requirement already satisfied: ffmpeg-python==0.2.0 in /home/focus/env/lib/python3.9/site-packages (from openai-whisper==20230314; extra == "harmony"->subaligner[harmony]) (0.2.0)
Requirement already satisfied: huggingface-hub<1.0,>=0.11.0 in /home/focus/env/lib/python3.9/site-packages (from transformers<4.27.0; extra == "harmony"->subaligner[harmony]) (0.19.4)
Requirement already satisfied: requests in /home/focus/env/lib/python3.9/site-packages (from transformers<4.27.0; extra == "harmony"->subaligner[harmony]) (2.31.0)
Requirement already satisfied: tokenizers!=0.11.3,<0.14,>=0.11.1 in /home/focus/env/lib/python3.9/site-packages (from transformers<4.27.0; extra == "harmony"->subaligner[harmony]) (0.13.3)
Requirement already satisfied: regex!=2019.12.17 in /home/focus/env/lib/python3.9/site-packages (from transformers<4.27.0; extra == "harmony"->subaligner[harmony]) (2023.10.3)
Requirement already satisfied: importlib-metadata>=4.6; python_version < "3.10" in /home/focus/env/lib/python3.9/site-packages (from jax>=0.3.15->tensorflow<2.13,>=1.15.5->subaligner[harmony]) (6.9.0)
Requirement already satisfied: ml-dtypes>=0.2.0 in /home/focus/env/lib/python3.9/site-packages (from jax>=0.3.15->tensorflow<2.13,>=1.15.5->subaligner[harmony]) (0.3.1)
Requirement already satisfied: wheel>=0.26 in /home/focus/env/lib/python3.9/site-packages (from tensorboard<2.13,>=2.12->tensorflow<2.13,>=1.15.5->subaligner[harmony]) (0.42.0)
Requirement already satisfied: google-auth-oauthlib<1.1,>=0.5 in /home/focus/env/lib/python3.9/site-packages (from tensorboard<2.13,>=2.12->tensorflow<2.13,>=1.15.5->subaligner[harmony]) (1.0.0)
Requirement already satisfied: tensorboard-data-server<0.8.0,>=0.7.0 in /home/focus/env/lib/python3.9/site-packages (from tensorboard<2.13,>=2.12->tensorflow<2.13,>=1.15.5->subaligner[harmony]) (0.7.2)
Requirement already satisfied: google-auth<3,>=1.6.3 in /home/focus/env/lib/python3.9/site-packages (from tensorboard<2.13,>=2.12->tensorflow<2.13,>=1.15.5->subaligner[harmony]) (2.24.0)
Requirement already satisfied: platformdirs>=2.5.0 in /home/focus/env/lib/python3.9/site-packages (from pooch>=1.0->librosa<0.10.0->subaligner[harmony]) (4.0.0)
Requirement already satisfied: cffi>=1.0 in /home/focus/env/lib/python3.9/site-packages (from soundfile>=0.10.2->librosa<0.10.0->subaligner[harmony]) (1.16.0)
Requirement already satisfied: fsspec>=2021.09.0 in /home/focus/env/lib/python3.9/site-packages (from dask>=0.11.0->distributed==1.13.0->subaligner[harmony]) (2023.12.0)
Requirement already satisfied: partd>=1.2.0 in /home/focus/env/lib/python3.9/site-packages (from dask>=0.11.0->distributed==1.13.0->subaligner[harmony]) (1.4.1)
Requirement already satisfied: lit in /home/focus/env/lib/python3.9/site-packages (from triton==2.0.0->openai-whisper==20230314; extra == "harmony"->subaligner[harmony]) (17.0.6)
Requirement already satisfied: cmake in /home/focus/env/lib/python3.9/site-packages (from triton==2.0.0->openai-whisper==20230314; extra == "harmony"->subaligner[harmony]) (3.27.7)
Requirement already satisfied: charset-normalizer<4,>=2 in /home/focus/env/lib/python3.9/site-packages (from requests->transformers<4.27.0; extra == "harmony"->subaligner[harmony]) (3.3.2)
Requirement already satisfied: zipp>=0.5 in /home/focus/env/lib/python3.9/site-packages (from importlib-metadata>=4.6; python_version < "3.10"->jax>=0.3.15->tensorflow<2.13,>=1.15.5->subaligner[harmony]) (3.17.0)
Requirement already satisfied: requests-oauthlib>=0.7.0 in /home/focus/env/lib/python3.9/site-packages (from google-auth-oauthlib<1.1,>=0.5->tensorboard<2.13,>=2.12->tensorflow<2.13,>=1.15.5->subaligner[harmony]) (1.3.1)
Requirement already satisfied: pycparser in /home/focus/env/lib/python3.9/site-packages (from cffi>=1.0->soundfile>=0.10.2->librosa<0.10.0->subaligner[harmony]) (2.21)
Building wheels for collected packages: aeneas
Building wheel for aeneas (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: /home/focus/env/bin/python3.9 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-6blrc0lc/aeneas/setup.py'"'"'; file='"'"'/tmp/pip-install-6blrc0lc/aeneas/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-1p54p_7d
cwd: /tmp/pip-install-6blrc0lc/aeneas/
Complete output (192 lines):
/tmp/pip-install-6blrc0lc/aeneas/setup.py:190: DeprecationWarning:

`numpy.distutils` is deprecated since NumPy 1.23.0, as a result
of the deprecation of `distutils` itself. It will be removed for
Python >= 3.12. For older Python versions it will remain present.
It is recommended to use `setuptools < 60.0` for those Python versions.
For more details, see:
  https://numpy.org/devdocs/reference/distutils_status_migration.html


from numpy.distutils import misc_util

running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.9
creating build/lib.linux-x86_64-3.9/aeneas
copying aeneas/container.py -> build/lib.linux-x86_64-3.9/aeneas
copying aeneas/downloader.py -> build/lib.linux-x86_64-3.9/aeneas
copying aeneas/analyzecontainer.py -> build/lib.linux-x86_64-3.9/aeneas
copying aeneas/tree.py -> build/lib.linux-x86_64-3.9/aeneas
copying aeneas/mfcc.py -> build/lib.linux-x86_64-3.9/aeneas
copying aeneas/synthesizer.py -> build/lib.linux-x86_64-3.9/aeneas
copying aeneas/job.py -> build/lib.linux-x86_64-3.9/aeneas
copying aeneas/cewsubprocess.py -> build/lib.linux-x86_64-3.9/aeneas
copying aeneas/globalconstants.py -> build/lib.linux-x86_64-3.9/aeneas
copying aeneas/plotter.py -> build/lib.linux-x86_64-3.9/aeneas
copying aeneas/adjustboundaryalgorithm.py -> build/lib.linux-x86_64-3.9/aeneas
copying aeneas/hierarchytype.py -> build/lib.linux-x86_64-3.9/aeneas
copying aeneas/executetask.py -> build/lib.linux-x86_64-3.9/aeneas
copying aeneas/logger.py -> build/lib.linux-x86_64-3.9/aeneas
copying aeneas/globalfunctions.py -> build/lib.linux-x86_64-3.9/aeneas
copying aeneas/runtimeconfiguration.py -> build/lib.linux-x86_64-3.9/aeneas
copying aeneas/exacttiming.py -> build/lib.linux-x86_64-3.9/aeneas
copying aeneas/dtw.py -> build/lib.linux-x86_64-3.9/aeneas
copying aeneas/configuration.py -> build/lib.linux-x86_64-3.9/aeneas
copying aeneas/sd.py -> build/lib.linux-x86_64-3.9/aeneas
copying aeneas/language.py -> build/lib.linux-x86_64-3.9/aeneas
copying aeneas/wavfile.py -> build/lib.linux-x86_64-3.9/aeneas
copying aeneas/task.py -> build/lib.linux-x86_64-3.9/aeneas
copying aeneas/executejob.py -> build/lib.linux-x86_64-3.9/aeneas
copying aeneas/ffprobewrapper.py -> build/lib.linux-x86_64-3.9/aeneas
copying aeneas/idsortingalgorithm.py -> build/lib.linux-x86_64-3.9/aeneas
copying aeneas/audiofilemfcc.py -> build/lib.linux-x86_64-3.9/aeneas
copying aeneas/validator.py -> build/lib.linux-x86_64-3.9/aeneas
copying aeneas/textfile.py -> build/lib.linux-x86_64-3.9/aeneas
copying aeneas/vad.py -> build/lib.linux-x86_64-3.9/aeneas
copying aeneas/init.py -> build/lib.linux-x86_64-3.9/aeneas
copying aeneas/audiofile.py -> build/lib.linux-x86_64-3.9/aeneas
copying aeneas/diagnostics.py -> build/lib.linux-x86_64-3.9/aeneas
copying aeneas/ffmpegwrapper.py -> build/lib.linux-x86_64-3.9/aeneas
creating build/lib.linux-x86_64-3.9/aeneas/cdtw
copying aeneas/cdtw/cdtw_setup.py -> build/lib.linux-x86_64-3.9/aeneas/cdtw
copying aeneas/cdtw/init.py -> build/lib.linux-x86_64-3.9/aeneas/cdtw
creating build/lib.linux-x86_64-3.9/aeneas/cew
copying aeneas/cew/cew_setup.py -> build/lib.linux-x86_64-3.9/aeneas/cew
copying aeneas/cew/init.py -> build/lib.linux-x86_64-3.9/aeneas/cew
creating build/lib.linux-x86_64-3.9/aeneas/cfw
copying aeneas/cfw/cfw_setup.py -> build/lib.linux-x86_64-3.9/aeneas/cfw
copying aeneas/cfw/init.py -> build/lib.linux-x86_64-3.9/aeneas/cfw
creating build/lib.linux-x86_64-3.9/aeneas/cmfcc
copying aeneas/cmfcc/cmfcc_setup.py -> build/lib.linux-x86_64-3.9/aeneas/cmfcc
copying aeneas/cmfcc/init.py -> build/lib.linux-x86_64-3.9/aeneas/cmfcc
creating build/lib.linux-x86_64-3.9/aeneas/cwave
copying aeneas/cwave/cwave_setup.py -> build/lib.linux-x86_64-3.9/aeneas/cwave
copying aeneas/cwave/init.py -> build/lib.linux-x86_64-3.9/aeneas/cwave
creating build/lib.linux-x86_64-3.9/aeneas/extra
copying aeneas/extra/ctw_speect.py -> build/lib.linux-x86_64-3.9/aeneas/extra
copying aeneas/extra/ctw_espeak.py -> build/lib.linux-x86_64-3.9/aeneas/extra
copying aeneas/extra/init.py -> build/lib.linux-x86_64-3.9/aeneas/extra
creating build/lib.linux-x86_64-3.9/aeneas/syncmap
copying aeneas/syncmap/smfttml.py -> build/lib.linux-x86_64-3.9/aeneas/syncmap
copying aeneas/syncmap/smfssv.py -> build/lib.linux-x86_64-3.9/aeneas/syncmap
copying aeneas/syncmap/smfgsubtitles.py -> build/lib.linux-x86_64-3.9/aeneas/syncmap
copying aeneas/syncmap/smfeaf.py -> build/lib.linux-x86_64-3.9/aeneas/syncmap
copying aeneas/syncmap/smftsv.py -> build/lib.linux-x86_64-3.9/aeneas/syncmap
copying aeneas/syncmap/smfbase.py -> build/lib.linux-x86_64-3.9/aeneas/syncmap
copying aeneas/syncmap/smftxt.py -> build/lib.linux-x86_64-3.9/aeneas/syncmap
copying aeneas/syncmap/smfgxml.py -> build/lib.linux-x86_64-3.9/aeneas/syncmap
copying aeneas/syncmap/smfvtt.py -> build/lib.linux-x86_64-3.9/aeneas/syncmap
copying aeneas/syncmap/smfsub.py -> build/lib.linux-x86_64-3.9/aeneas/syncmap
copying aeneas/syncmap/smftextgrid.py -> build/lib.linux-x86_64-3.9/aeneas/syncmap
copying aeneas/syncmap/format.py -> build/lib.linux-x86_64-3.9/aeneas/syncmap
copying aeneas/syncmap/smfaudacity.py -> build/lib.linux-x86_64-3.9/aeneas/syncmap
copying aeneas/syncmap/smfxml.py -> build/lib.linux-x86_64-3.9/aeneas/syncmap
copying aeneas/syncmap/smfrbse.py -> build/lib.linux-x86_64-3.9/aeneas/syncmap
copying aeneas/syncmap/smfcsv.py -> build/lib.linux-x86_64-3.9/aeneas/syncmap
copying aeneas/syncmap/smfxmllegacy.py -> build/lib.linux-x86_64-3.9/aeneas/syncmap
copying aeneas/syncmap/smfgtabular.py -> build/lib.linux-x86_64-3.9/aeneas/syncmap
copying aeneas/syncmap/headtailformat.py -> build/lib.linux-x86_64-3.9/aeneas/syncmap
copying aeneas/syncmap/smfsrt.py -> build/lib.linux-x86_64-3.9/aeneas/syncmap
copying aeneas/syncmap/fragment.py -> build/lib.linux-x86_64-3.9/aeneas/syncmap
copying aeneas/syncmap/init.py -> build/lib.linux-x86_64-3.9/aeneas/syncmap
copying aeneas/syncmap/smfsmil.py -> build/lib.linux-x86_64-3.9/aeneas/syncmap
copying aeneas/syncmap/fragmentlist.py -> build/lib.linux-x86_64-3.9/aeneas/syncmap
copying aeneas/syncmap/smfjson.py -> build/lib.linux-x86_64-3.9/aeneas/syncmap
copying aeneas/syncmap/missingparametererror.py -> build/lib.linux-x86_64-3.9/aeneas/syncmap
creating build/lib.linux-x86_64-3.9/aeneas/tools
copying aeneas/tools/extract_mfcc.py -> build/lib.linux-x86_64-3.9/aeneas/tools
copying aeneas/tools/execute_task.py -> build/lib.linux-x86_64-3.9/aeneas/tools
copying aeneas/tools/ffmpeg_wrapper.py -> build/lib.linux-x86_64-3.9/aeneas/tools
copying aeneas/tools/run_vad.py -> build/lib.linux-x86_64-3.9/aeneas/tools
copying aeneas/tools/plot_waveform.py -> build/lib.linux-x86_64-3.9/aeneas/tools
copying aeneas/tools/read_audio.py -> build/lib.linux-x86_64-3.9/aeneas/tools
copying aeneas/tools/convert_syncmap.py -> build/lib.linux-x86_64-3.9/aeneas/tools
copying aeneas/tools/ffprobe_wrapper.py -> build/lib.linux-x86_64-3.9/aeneas/tools
copying aeneas/tools/hydra.py -> build/lib.linux-x86_64-3.9/aeneas/tools
copying aeneas/tools/read_text.py -> build/lib.linux-x86_64-3.9/aeneas/tools
copying aeneas/tools/synthesize_text.py -> build/lib.linux-x86_64-3.9/aeneas/tools
copying aeneas/tools/download.py -> build/lib.linux-x86_64-3.9/aeneas/tools
copying aeneas/tools/abstract_cli_program.py -> build/lib.linux-x86_64-3.9/aeneas/tools
copying aeneas/tools/validate.py -> build/lib.linux-x86_64-3.9/aeneas/tools
copying aeneas/tools/execute_job.py -> build/lib.linux-x86_64-3.9/aeneas/tools
copying aeneas/tools/run_sd.py -> build/lib.linux-x86_64-3.9/aeneas/tools
copying aeneas/tools/init.py -> build/lib.linux-x86_64-3.9/aeneas/tools
creating build/lib.linux-x86_64-3.9/aeneas/ttswrappers
copying aeneas/ttswrappers/macosttswrapper.py -> build/lib.linux-x86_64-3.9/aeneas/ttswrappers
copying aeneas/ttswrappers/espeakngttswrapper.py -> build/lib.linux-x86_64-3.9/aeneas/ttswrappers
copying aeneas/ttswrappers/nuancettswrapper.py -> build/lib.linux-x86_64-3.9/aeneas/ttswrappers
copying aeneas/ttswrappers/basettswrapper.py -> build/lib.linux-x86_64-3.9/aeneas/ttswrappers
copying aeneas/ttswrappers/awsttswrapper.py -> build/lib.linux-x86_64-3.9/aeneas/ttswrappers
copying aeneas/ttswrappers/festivalttswrapper.py -> build/lib.linux-x86_64-3.9/aeneas/ttswrappers
copying aeneas/ttswrappers/init.py -> build/lib.linux-x86_64-3.9/aeneas/ttswrappers
copying aeneas/ttswrappers/espeakttswrapper.py -> build/lib.linux-x86_64-3.9/aeneas/ttswrappers
creating build/lib.linux-x86_64-3.9/aeneas/res
copying aeneas/res/init.py -> build/lib.linux-x86_64-3.9/aeneas/res
copying aeneas/res/LiberationMono-Regular.ttf -> build/lib.linux-x86_64-3.9/aeneas/res
copying aeneas/res/finetuneas.html -> build/lib.linux-x86_64-3.9/aeneas/res
copying aeneas/README.md -> build/lib.linux-x86_64-3.9/aeneas
copying aeneas/cdtw/cdtw_py.c -> build/lib.linux-x86_64-3.9/aeneas/cdtw
copying aeneas/cdtw/cdtw_driver.c -> build/lib.linux-x86_64-3.9/aeneas/cdtw
copying aeneas/cdtw/cdtw_func.c -> build/lib.linux-x86_64-3.9/aeneas/cdtw
copying aeneas/cdtw/cdtw_func.h -> build/lib.linux-x86_64-3.9/aeneas/cdtw
copying aeneas/cdtw/README.md -> build/lib.linux-x86_64-3.9/aeneas/cdtw
copying aeneas/cew/speak_lib.h -> build/lib.linux-x86_64-3.9/aeneas/cew
copying aeneas/cew/cew_func.h -> build/lib.linux-x86_64-3.9/aeneas/cew
copying aeneas/cew/README.md -> build/lib.linux-x86_64-3.9/aeneas/cew
copying aeneas/cmfcc/cmfcc_py.c -> build/lib.linux-x86_64-3.9/aeneas/cmfcc
copying aeneas/cmfcc/cmfcc_driver.c -> build/lib.linux-x86_64-3.9/aeneas/cmfcc
copying aeneas/cmfcc/cmfcc_func.c -> build/lib.linux-x86_64-3.9/aeneas/cmfcc
copying aeneas/cmfcc/cmfcc_func.h -> build/lib.linux-x86_64-3.9/aeneas/cmfcc
copying aeneas/cmfcc/README.md -> build/lib.linux-x86_64-3.9/aeneas/cmfcc
copying aeneas/cwave/cwave_py.c -> build/lib.linux-x86_64-3.9/aeneas/cwave
copying aeneas/cwave/cwave_func.c -> build/lib.linux-x86_64-3.9/aeneas/cwave
copying aeneas/cwave/cwave_driver.c -> build/lib.linux-x86_64-3.9/aeneas/cwave
copying aeneas/cwave/cwave_func.h -> build/lib.linux-x86_64-3.9/aeneas/cwave
copying aeneas/cwave/README.md -> build/lib.linux-x86_64-3.9/aeneas/cwave
copying aeneas/extra/README.md -> build/lib.linux-x86_64-3.9/aeneas/extra
creating build/lib.linux-x86_64-3.9/aeneas/tools/res
copying aeneas/tools/res/audio.mp3 -> build/lib.linux-x86_64-3.9/aeneas/tools/res
copying aeneas/tools/res/config.xml -> build/lib.linux-x86_64-3.9/aeneas/tools/res
copying aeneas/tools/res/sonnet.vad -> build/lib.linux-x86_64-3.9/aeneas/tools/res
copying aeneas/tools/res/plain.txt -> build/lib.linux-x86_64-3.9/aeneas/tools/res
copying aeneas/tools/res/mplain.txt -> build/lib.linux-x86_64-3.9/aeneas/tools/res
copying aeneas/tools/res/munparsed.xhtml -> build/lib.linux-x86_64-3.9/aeneas/tools/res
copying aeneas/tools/res/sonnet.zzz -> build/lib.linux-x86_64-3.9/aeneas/tools/res
copying aeneas/tools/res/job_no_config.zip -> build/lib.linux-x86_64-3.9/aeneas/tools/res
copying aeneas/tools/res/parsed.txt -> build/lib.linux-x86_64-3.9/aeneas/tools/res
copying aeneas/tools/res/config.bad.txt -> build/lib.linux-x86_64-3.9/aeneas/tools/res
copying aeneas/tools/res/page.xhtml -> build/lib.linux-x86_64-3.9/aeneas/tools/res
copying aeneas/tools/res/munparsed2.xhtml -> build/lib.linux-x86_64-3.9/aeneas/tools/res
copying aeneas/tools/res/sonnet.json -> build/lib.linux-x86_64-3.9/aeneas/tools/res
copying aeneas/tools/res/job.zip -> build/lib.linux-x86_64-3.9/aeneas/tools/res
copying aeneas/tools/res/config.txt -> build/lib.linux-x86_64-3.9/aeneas/tools/res
copying aeneas/tools/res/config.bad.xml -> build/lib.linux-x86_64-3.9/aeneas/tools/res
copying aeneas/tools/res/words.txt -> build/lib.linux-x86_64-3.9/aeneas/tools/res
copying aeneas/tools/res/subtitles.txt -> build/lib.linux-x86_64-3.9/aeneas/tools/res
copying aeneas/tools/res/audio.wav -> build/lib.linux-x86_64-3.9/aeneas/tools/res
copying aeneas/tools/res/sonnet.csv -> build/lib.linux-x86_64-3.9/aeneas/tools/res
copying aeneas/tools/res/unparsed.xhtml -> build/lib.linux-x86_64-3.9/aeneas/tools/res
copying aeneas/tools/res/job.bad.zip -> build/lib.linux-x86_64-3.9/aeneas/tools/res
copying aeneas/tools/README.md -> build/lib.linux-x86_64-3.9/aeneas/tools
copying aeneas/ttswrappers/README.md -> build/lib.linux-x86_64-3.9/aeneas/ttswrappers
running build_ext
building 'aeneas.cdtw.cdtw' extension
Warning: Can't read registry to find the necessary compiler setting
Make sure that Python modules winreg, win32api or win32con are installed.
INFO: C compiler: x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC

creating build/temp.linux-x86_64-3.9
creating build/temp.linux-x86_64-3.9/aeneas
creating build/temp.linux-x86_64-3.9/aeneas/cdtw
creating build/temp.linux-x86_64-3.9/aeneas/cint
INFO: compile options: '-I/home/focus/env/lib/python3.9/site-packages/numpy/core/include -I['/home/focus/env/lib/python3.9/site-packages/numpy/core/include'] -I/home/focus/env/include -I/usr/include/python3.9 -c'
INFO: x86_64-linux-gnu-gcc: aeneas/cdtw/cdtw_func.c
INFO: x86_64-linux-gnu-gcc: aeneas/cdtw/cdtw_py.c
INFO: x86_64-linux-gnu-gcc: aeneas/cint/cint.c
aeneas/cdtw/cdtw_py.c:29:10: fatal error: Python.h: No such file or directory
29 | #include <Python.h>
| ^~~~~~~~~~
compilation terminated.
error: Command "x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/home/focus/env/lib/python3.9/site-packages/numpy/core/include -I['/home/focus/env/lib/python3.9/site-packages/numpy/core/include'] -I/home/focus/env/include -I/usr/include/python3.9 -c aeneas/cdtw/cdtw_py.c -o build/temp.linux-x86_64-3.9/aeneas/cdtw/cdtw_py.o" failed with exit status 1

ERROR: Failed building wheel for aeneas
Running setup.py clean for aeneas
Failed to build aeneas
Installing collected packages: aeneas
Running setup.py install for aeneas ... error
ERROR: Command errored out with exit status 1:
command: /home/focus/env/bin/python3.9 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-6blrc0lc/aeneas/setup.py'"'"'; file='"'"'/tmp/pip-install-6blrc0lc/aeneas/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /tmp/pip-record-op_fzrok/install-record.txt --single-version-externally-managed --compile --install-headers /home/focus/env/include/site/python3.9/aeneas
cwd: /tmp/pip-install-6blrc0lc/aeneas/
Complete output (194 lines):
/tmp/pip-install-6blrc0lc/aeneas/setup.py:190: DeprecationWarning:

  `numpy.distutils` is deprecated since NumPy 1.23.0, as a result
  of the deprecation of `distutils` itself. It will be removed for
  Python >= 3.12. For older Python versions it will remain present.
  It is recommended to use `setuptools < 60.0` for those Python versions.
  For more details, see:
    https://numpy.org/devdocs/reference/distutils_status_migration.html


  from numpy.distutils import misc_util
running install
/home/focus/env/lib/python3.9/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
  warnings.warn(
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.9
creating build/lib.linux-x86_64-3.9/aeneas
copying aeneas/container.py -> build/lib.linux-x86_64-3.9/aeneas
copying aeneas/downloader.py -> build/lib.linux-x86_64-3.9/aeneas
copying aeneas/analyzecontainer.py -> build/lib.linux-x86_64-3.9/aeneas
copying aeneas/tree.py -> build/lib.linux-x86_64-3.9/aeneas
copying aeneas/mfcc.py -> build/lib.linux-x86_64-3.9/aeneas
copying aeneas/synthesizer.py -> build/lib.linux-x86_64-3.9/aeneas
copying aeneas/job.py -> build/lib.linux-x86_64-3.9/aeneas
copying aeneas/cewsubprocess.py -> build/lib.linux-x86_64-3.9/aeneas
copying aeneas/globalconstants.py -> build/lib.linux-x86_64-3.9/aeneas
copying aeneas/plotter.py -> build/lib.linux-x86_64-3.9/aeneas
copying aeneas/adjustboundaryalgorithm.py -> build/lib.linux-x86_64-3.9/aeneas
copying aeneas/hierarchytype.py -> build/lib.linux-x86_64-3.9/aeneas
copying aeneas/executetask.py -> build/lib.linux-x86_64-3.9/aeneas
copying aeneas/logger.py -> build/lib.linux-x86_64-3.9/aeneas
copying aeneas/globalfunctions.py -> build/lib.linux-x86_64-3.9/aeneas
copying aeneas/runtimeconfiguration.py -> build/lib.linux-x86_64-3.9/aeneas
copying aeneas/exacttiming.py -> build/lib.linux-x86_64-3.9/aeneas
copying aeneas/dtw.py -> build/lib.linux-x86_64-3.9/aeneas
copying aeneas/configuration.py -> build/lib.linux-x86_64-3.9/aeneas
copying aeneas/sd.py -> build/lib.linux-x86_64-3.9/aeneas
copying aeneas/language.py -> build/lib.linux-x86_64-3.9/aeneas
copying aeneas/wavfile.py -> build/lib.linux-x86_64-3.9/aeneas
copying aeneas/task.py -> build/lib.linux-x86_64-3.9/aeneas
copying aeneas/executejob.py -> build/lib.linux-x86_64-3.9/aeneas
copying aeneas/ffprobewrapper.py -> build/lib.linux-x86_64-3.9/aeneas
copying aeneas/idsortingalgorithm.py -> build/lib.linux-x86_64-3.9/aeneas
copying aeneas/audiofilemfcc.py -> build/lib.linux-x86_64-3.9/aeneas
copying aeneas/validator.py -> build/lib.linux-x86_64-3.9/aeneas
copying aeneas/textfile.py -> build/lib.linux-x86_64-3.9/aeneas
copying aeneas/vad.py -> build/lib.linux-x86_64-3.9/aeneas
copying aeneas/__init__.py -> build/lib.linux-x86_64-3.9/aeneas
copying aeneas/audiofile.py -> build/lib.linux-x86_64-3.9/aeneas
copying aeneas/diagnostics.py -> build/lib.linux-x86_64-3.9/aeneas
copying aeneas/ffmpegwrapper.py -> build/lib.linux-x86_64-3.9/aeneas
creating build/lib.linux-x86_64-3.9/aeneas/cdtw
copying aeneas/cdtw/cdtw_setup.py -> build/lib.linux-x86_64-3.9/aeneas/cdtw
copying aeneas/cdtw/__init__.py -> build/lib.linux-x86_64-3.9/aeneas/cdtw
creating build/lib.linux-x86_64-3.9/aeneas/cew
copying aeneas/cew/cew_setup.py -> build/lib.linux-x86_64-3.9/aeneas/cew
copying aeneas/cew/__init__.py -> build/lib.linux-x86_64-3.9/aeneas/cew
creating build/lib.linux-x86_64-3.9/aeneas/cfw
copying aeneas/cfw/cfw_setup.py -> build/lib.linux-x86_64-3.9/aeneas/cfw
copying aeneas/cfw/__init__.py -> build/lib.linux-x86_64-3.9/aeneas/cfw
creating build/lib.linux-x86_64-3.9/aeneas/cmfcc
copying aeneas/cmfcc/cmfcc_setup.py -> build/lib.linux-x86_64-3.9/aeneas/cmfcc
copying aeneas/cmfcc/__init__.py -> build/lib.linux-x86_64-3.9/aeneas/cmfcc
creating build/lib.linux-x86_64-3.9/aeneas/cwave
copying aeneas/cwave/cwave_setup.py -> build/lib.linux-x86_64-3.9/aeneas/cwave
copying aeneas/cwave/__init__.py -> build/lib.linux-x86_64-3.9/aeneas/cwave
creating build/lib.linux-x86_64-3.9/aeneas/extra
copying aeneas/extra/ctw_speect.py -> build/lib.linux-x86_64-3.9/aeneas/extra
copying aeneas/extra/ctw_espeak.py -> build/lib.linux-x86_64-3.9/aeneas/extra
copying aeneas/extra/__init__.py -> build/lib.linux-x86_64-3.9/aeneas/extra
creating build/lib.linux-x86_64-3.9/aeneas/syncmap
copying aeneas/syncmap/smfttml.py -> build/lib.linux-x86_64-3.9/aeneas/syncmap
copying aeneas/syncmap/smfssv.py -> build/lib.linux-x86_64-3.9/aeneas/syncmap
copying aeneas/syncmap/smfgsubtitles.py -> build/lib.linux-x86_64-3.9/aeneas/syncmap
copying aeneas/syncmap/smfeaf.py -> build/lib.linux-x86_64-3.9/aeneas/syncmap
copying aeneas/syncmap/smftsv.py -> build/lib.linux-x86_64-3.9/aeneas/syncmap
copying aeneas/syncmap/smfbase.py -> build/lib.linux-x86_64-3.9/aeneas/syncmap
copying aeneas/syncmap/smftxt.py -> build/lib.linux-x86_64-3.9/aeneas/syncmap
copying aeneas/syncmap/smfgxml.py -> build/lib.linux-x86_64-3.9/aeneas/syncmap
copying aeneas/syncmap/smfvtt.py -> build/lib.linux-x86_64-3.9/aeneas/syncmap
copying aeneas/syncmap/smfsub.py -> build/lib.linux-x86_64-3.9/aeneas/syncmap
copying aeneas/syncmap/smftextgrid.py -> build/lib.linux-x86_64-3.9/aeneas/syncmap
copying aeneas/syncmap/format.py -> build/lib.linux-x86_64-3.9/aeneas/syncmap
copying aeneas/syncmap/smfaudacity.py -> build/lib.linux-x86_64-3.9/aeneas/syncmap
copying aeneas/syncmap/smfxml.py -> build/lib.linux-x86_64-3.9/aeneas/syncmap
copying aeneas/syncmap/smfrbse.py -> build/lib.linux-x86_64-3.9/aeneas/syncmap
copying aeneas/syncmap/smfcsv.py -> build/lib.linux-x86_64-3.9/aeneas/syncmap
copying aeneas/syncmap/smfxmllegacy.py -> build/lib.linux-x86_64-3.9/aeneas/syncmap
copying aeneas/syncmap/smfgtabular.py -> build/lib.linux-x86_64-3.9/aeneas/syncmap
copying aeneas/syncmap/headtailformat.py -> build/lib.linux-x86_64-3.9/aeneas/syncmap
copying aeneas/syncmap/smfsrt.py -> build/lib.linux-x86_64-3.9/aeneas/syncmap
copying aeneas/syncmap/fragment.py -> build/lib.linux-x86_64-3.9/aeneas/syncmap
copying aeneas/syncmap/__init__.py -> build/lib.linux-x86_64-3.9/aeneas/syncmap
copying aeneas/syncmap/smfsmil.py -> build/lib.linux-x86_64-3.9/aeneas/syncmap
copying aeneas/syncmap/fragmentlist.py -> build/lib.linux-x86_64-3.9/aeneas/syncmap
copying aeneas/syncmap/smfjson.py -> build/lib.linux-x86_64-3.9/aeneas/syncmap
copying aeneas/syncmap/missingparametererror.py -> build/lib.linux-x86_64-3.9/aeneas/syncmap
creating build/lib.linux-x86_64-3.9/aeneas/tools
copying aeneas/tools/extract_mfcc.py -> build/lib.linux-x86_64-3.9/aeneas/tools
copying aeneas/tools/execute_task.py -> build/lib.linux-x86_64-3.9/aeneas/tools
copying aeneas/tools/ffmpeg_wrapper.py -> build/lib.linux-x86_64-3.9/aeneas/tools
copying aeneas/tools/run_vad.py -> build/lib.linux-x86_64-3.9/aeneas/tools
copying aeneas/tools/plot_waveform.py -> build/lib.linux-x86_64-3.9/aeneas/tools
copying aeneas/tools/read_audio.py -> build/lib.linux-x86_64-3.9/aeneas/tools
copying aeneas/tools/convert_syncmap.py -> build/lib.linux-x86_64-3.9/aeneas/tools
copying aeneas/tools/ffprobe_wrapper.py -> build/lib.linux-x86_64-3.9/aeneas/tools
copying aeneas/tools/hydra.py -> build/lib.linux-x86_64-3.9/aeneas/tools
copying aeneas/tools/read_text.py -> build/lib.linux-x86_64-3.9/aeneas/tools
copying aeneas/tools/synthesize_text.py -> build/lib.linux-x86_64-3.9/aeneas/tools
copying aeneas/tools/download.py -> build/lib.linux-x86_64-3.9/aeneas/tools
copying aeneas/tools/abstract_cli_program.py -> build/lib.linux-x86_64-3.9/aeneas/tools
copying aeneas/tools/validate.py -> build/lib.linux-x86_64-3.9/aeneas/tools
copying aeneas/tools/execute_job.py -> build/lib.linux-x86_64-3.9/aeneas/tools
copying aeneas/tools/run_sd.py -> build/lib.linux-x86_64-3.9/aeneas/tools
copying aeneas/tools/__init__.py -> build/lib.linux-x86_64-3.9/aeneas/tools
creating build/lib.linux-x86_64-3.9/aeneas/ttswrappers
copying aeneas/ttswrappers/macosttswrapper.py -> build/lib.linux-x86_64-3.9/aeneas/ttswrappers
copying aeneas/ttswrappers/espeakngttswrapper.py -> build/lib.linux-x86_64-3.9/aeneas/ttswrappers
copying aeneas/ttswrappers/nuancettswrapper.py -> build/lib.linux-x86_64-3.9/aeneas/ttswrappers
copying aeneas/ttswrappers/basettswrapper.py -> build/lib.linux-x86_64-3.9/aeneas/ttswrappers
copying aeneas/ttswrappers/awsttswrapper.py -> build/lib.linux-x86_64-3.9/aeneas/ttswrappers
copying aeneas/ttswrappers/festivalttswrapper.py -> build/lib.linux-x86_64-3.9/aeneas/ttswrappers
copying aeneas/ttswrappers/__init__.py -> build/lib.linux-x86_64-3.9/aeneas/ttswrappers
copying aeneas/ttswrappers/espeakttswrapper.py -> build/lib.linux-x86_64-3.9/aeneas/ttswrappers
creating build/lib.linux-x86_64-3.9/aeneas/res
copying aeneas/res/__init__.py -> build/lib.linux-x86_64-3.9/aeneas/res
copying aeneas/res/LiberationMono-Regular.ttf -> build/lib.linux-x86_64-3.9/aeneas/res
copying aeneas/res/finetuneas.html -> build/lib.linux-x86_64-3.9/aeneas/res
copying aeneas/README.md -> build/lib.linux-x86_64-3.9/aeneas
copying aeneas/cdtw/cdtw_py.c -> build/lib.linux-x86_64-3.9/aeneas/cdtw
copying aeneas/cdtw/cdtw_driver.c -> build/lib.linux-x86_64-3.9/aeneas/cdtw
copying aeneas/cdtw/cdtw_func.c -> build/lib.linux-x86_64-3.9/aeneas/cdtw
copying aeneas/cdtw/cdtw_func.h -> build/lib.linux-x86_64-3.9/aeneas/cdtw
copying aeneas/cdtw/README.md -> build/lib.linux-x86_64-3.9/aeneas/cdtw
copying aeneas/cew/speak_lib.h -> build/lib.linux-x86_64-3.9/aeneas/cew
copying aeneas/cew/cew_func.h -> build/lib.linux-x86_64-3.9/aeneas/cew
copying aeneas/cew/README.md -> build/lib.linux-x86_64-3.9/aeneas/cew
copying aeneas/cmfcc/cmfcc_py.c -> build/lib.linux-x86_64-3.9/aeneas/cmfcc
copying aeneas/cmfcc/cmfcc_driver.c -> build/lib.linux-x86_64-3.9/aeneas/cmfcc
copying aeneas/cmfcc/cmfcc_func.c -> build/lib.linux-x86_64-3.9/aeneas/cmfcc
copying aeneas/cmfcc/cmfcc_func.h -> build/lib.linux-x86_64-3.9/aeneas/cmfcc
copying aeneas/cmfcc/README.md -> build/lib.linux-x86_64-3.9/aeneas/cmfcc
copying aeneas/cwave/cwave_py.c -> build/lib.linux-x86_64-3.9/aeneas/cwave
copying aeneas/cwave/cwave_func.c -> build/lib.linux-x86_64-3.9/aeneas/cwave
copying aeneas/cwave/cwave_driver.c -> build/lib.linux-x86_64-3.9/aeneas/cwave
copying aeneas/cwave/cwave_func.h -> build/lib.linux-x86_64-3.9/aeneas/cwave
copying aeneas/cwave/README.md -> build/lib.linux-x86_64-3.9/aeneas/cwave
copying aeneas/extra/README.md -> build/lib.linux-x86_64-3.9/aeneas/extra
creating build/lib.linux-x86_64-3.9/aeneas/tools/res
copying aeneas/tools/res/audio.mp3 -> build/lib.linux-x86_64-3.9/aeneas/tools/res
copying aeneas/tools/res/config.xml -> build/lib.linux-x86_64-3.9/aeneas/tools/res
copying aeneas/tools/res/sonnet.vad -> build/lib.linux-x86_64-3.9/aeneas/tools/res
copying aeneas/tools/res/plain.txt -> build/lib.linux-x86_64-3.9/aeneas/tools/res
copying aeneas/tools/res/mplain.txt -> build/lib.linux-x86_64-3.9/aeneas/tools/res
copying aeneas/tools/res/munparsed.xhtml -> build/lib.linux-x86_64-3.9/aeneas/tools/res
copying aeneas/tools/res/sonnet.zzz -> build/lib.linux-x86_64-3.9/aeneas/tools/res
copying aeneas/tools/res/job_no_config.zip -> build/lib.linux-x86_64-3.9/aeneas/tools/res
copying aeneas/tools/res/parsed.txt -> build/lib.linux-x86_64-3.9/aeneas/tools/res
copying aeneas/tools/res/config.bad.txt -> build/lib.linux-x86_64-3.9/aeneas/tools/res
copying aeneas/tools/res/page.xhtml -> build/lib.linux-x86_64-3.9/aeneas/tools/res
copying aeneas/tools/res/munparsed2.xhtml -> build/lib.linux-x86_64-3.9/aeneas/tools/res
copying aeneas/tools/res/sonnet.json -> build/lib.linux-x86_64-3.9/aeneas/tools/res
copying aeneas/tools/res/job.zip -> build/lib.linux-x86_64-3.9/aeneas/tools/res
copying aeneas/tools/res/config.txt -> build/lib.linux-x86_64-3.9/aeneas/tools/res
copying aeneas/tools/res/config.bad.xml -> build/lib.linux-x86_64-3.9/aeneas/tools/res
copying aeneas/tools/res/words.txt -> build/lib.linux-x86_64-3.9/aeneas/tools/res
copying aeneas/tools/res/subtitles.txt -> build/lib.linux-x86_64-3.9/aeneas/tools/res
copying aeneas/tools/res/audio.wav -> build/lib.linux-x86_64-3.9/aeneas/tools/res
copying aeneas/tools/res/sonnet.csv -> build/lib.linux-x86_64-3.9/aeneas/tools/res
copying aeneas/tools/res/unparsed.xhtml -> build/lib.linux-x86_64-3.9/aeneas/tools/res
copying aeneas/tools/res/job.bad.zip -> build/lib.linux-x86_64-3.9/aeneas/tools/res
copying aeneas/tools/README.md -> build/lib.linux-x86_64-3.9/aeneas/tools
copying aeneas/ttswrappers/README.md -> build/lib.linux-x86_64-3.9/aeneas/ttswrappers
running build_ext
building 'aeneas.cdtw.cdtw' extension
Warning: Can't read registry to find the necessary compiler setting
Make sure that Python modules winreg, win32api or win32con are installed.
INFO: C compiler: x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC

creating build/temp.linux-x86_64-3.9
creating build/temp.linux-x86_64-3.9/aeneas
creating build/temp.linux-x86_64-3.9/aeneas/cdtw
creating build/temp.linux-x86_64-3.9/aeneas/cint
INFO: compile options: '-I/home/focus/env/lib/python3.9/site-packages/numpy/core/include -I['/home/focus/env/lib/python3.9/site-packages/numpy/core/include'] -I/home/focus/env/include -I/usr/include/python3.9 -c'
INFO: x86_64-linux-gnu-gcc: aeneas/cdtw/cdtw_py.c
INFO: x86_64-linux-gnu-gcc: aeneas/cdtw/cdtw_func.c
INFO: x86_64-linux-gnu-gcc: aeneas/cint/cint.c
aeneas/cdtw/cdtw_py.c:29:10: fatal error: Python.h: No such file or directory
   29 | #include <Python.h>
      |          ^~~~~~~~~~
compilation terminated.
error: Command "x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/home/focus/env/lib/python3.9/site-packages/numpy/core/include -I['/home/focus/env/lib/python3.9/site-packages/numpy/core/include'] -I/home/focus/env/include -I/usr/include/python3.9 -c aeneas/cdtw/cdtw_py.c -o build/temp.linux-x86_64-3.9/aeneas/cdtw/cdtw_py.o" failed with exit status 1
----------------------------------------

ERROR: Command errored out with exit status 1: /home/focus/env/bin/python3.9 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-6blrc0lc/aeneas/setup.py'"'"'; file='"'"'/tmp/pip-install-6blrc0lc/aeneas/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /tmp/pip-record-op_fzrok/install-record.txt --single-version-externally-managed --compile --install-headers /home/focus/env/include/site/python3.9/aeneas Check the logs for full command output.
(env) focus@focus 11:18:08 :/mnt/c/Users/focus/Desktop
$

Error with Tensorflow

###Describe the bug
I'm getting an error in with tensorflow, but at the end, it works

###To Reproduce
I ran the command:

subaligner_1pass -v "/mnt/g/Endeavour/Endeavour.S07.1080p.AMZN.WEB-DL.DDP5.1.H.264-TEPES/Endeavour.S07E03.Zenana.1080p.AMZN.WEB-DL.DDP5.1.H.264-TEPES.mkv" -s "/mnt/g/Endeavour/Endeavour.S07.1080p.AMZN.WEB-DL.DDP5.1.H.264-TEPES/Endeavour.S07E03.Zenana.1080p.AMZN.WEB-DL.DDP5.1.H.264-TEPES.pob.srt" -d

###Screenshots and logs
image

###Media files
Audio codec EAC3 5.1
Video codec H264
Subtitle: srt

###Desktop (please complete the following information):

  • Ubuntu 20
  • Python 3.8

###Additional context

TensorRT

Do you use TensorRT, if so, what version?

2-pass mode randomly stops/freezes

###Describe the bug
The 2-pass mode stops/freezes at some random point. The last run stopped around minute 40. I also had runs were at stopped around minute 10 or after minute 80.

###To Reproduce
I'm just running subaligner_2pass -v video.mp4 -s ger.srt -so.

###Expected behavior
That the process finishes with the resulting subtitle.

###Screenshots and logs
output.log

###Desktop (please complete the following information):

  • Operating System: Linux 5.7.12-arch1-1 x86_64 GNU/Linux
  • Python Version: 3.8.5

Support for long span subtitles?

I am working on a project which involves long span subtitles (20s for a line of subtitle, with multiple words). I am wondering whether it is possible to use subaligner for such scenario. If that's not possible, if I split the words manually, like every 5 words for a new line of subtitle, will it work?

Synchronize one subtitle to another?

More of a question than an issue, is it possible to use subaligner for synchronizing one subtitle to another? The subtitles would be in different languages and one already synchronized to the video. It's for a post-processing script for Bazarr that I'm working on, and in my testing I have found English subtitles to generally have the best result.

I also wanted to add that this synchronizer easily beats all the other tools available by a landslide. This will save me so much time and effort and I'm thankful that people with your expertise develop software that clueless people like me have great use for.

ERROR: Cannot find model files at ...\lib\site-packages\subaligner\models\training\weights

Command used:

&"C:\Users\Shid\AppData\Local\Programs\Python\Python37\Scripts\subaligner.exe" -m dual -v "aa aa.mkv" -s "aa aa-1.srt" -o "aa aa.srt"

Output:

2022-03-19 21:43:58.992740: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'cudart64_110.dll'; dlerror: cudart64_110.dll not found
2022-03-19 21:43:58.992950: I tensorflow/stream_executor/cuda/cudart_stub.cc:29] Ignore above cudart dlerror if you do not have a GPU set up on your machine.
ERROR: Cannot find model files at c:\users\shid\appdata\local\programs\python\python37\lib\site-packages\subaligner\models\training\weights

  File "c:\users\shid\appdata\local\programs\python\python37\lib\site-packages\subaligner\__main__.py", line 247, in main
    exit_segfail=exit_segfail,
  File "c:\users\shid\appdata\local\programs\python\python37\lib\site-packages\subaligner\predictor.py", line 120, in predict_dual_pass
    video_file_path, subtitle_file_path, weights_file_path
  File "c:\users\shid\appdata\local\programs\python\python37\lib\site-packages\subaligner\predictor.py", line 731, in __predict
    network = self.__initialise_network(os.path.dirname(weights_file_path), self.__LOGGER)
  File "c:\users\shid\appdata\local\programs\python\python37\lib\site-packages\subaligner\predictor.py", line 488, in __initialise_network

In 0.2.0 a similar error seems to occur:

2022-03-19 22:28:13.843741: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'cudart64_110.dll'; dlerror: cudart64_110.dll not found
2022-03-19 22:28:13.843904: I tensorflow/stream_executor/cuda/cudart_stub.cc:29] Ignore above cudart dlerror if you do not have a GPU set up on your machine.
2022-03-19 22:28:16.555773: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'nvcuda.dll'; dlerror: nvcuda.dll not found
2022-03-19 22:28:16.555975: W tensorflow/stream_executor/cuda/cuda_driver.cc:326] failed call to cuInit: UNKNOWN ERROR (303)
2022-03-19 22:28:16.562222: I tensorflow/stream_executor/cuda/cuda_diagnostics.cc:169] retrieving CUDA diagnostic information for host: BJCG020218
2022-03-19 22:28:16.562546: I tensorflow/stream_executor/cuda/cuda_diagnostics.cc:176] hostname: BJCG020218
2022-03-19 22:28:16.583596: I tensorflow/core/platform/cpu_feature_guard.cc:142] This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN) to use the following CPU instructions in performance-critical operations:  AVX AVX2
To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags.
ERROR: [WinError 2] The system cannot find the file specified

  File "c:\users\shid\appdata\local\programs\python\python37\lib\site-packages\subaligner\__main__.py", line 218, in main
    weights_dir=os.path.join(FLAGS.training_output_directory, "models/training/weights")
  File "c:\users\shid\appdata\local\programs\python\python37\lib\site-packages\subaligner\predictor.py", line 80, in predict_single_pass
    video_file_path, subtitle_file_path, weights_file_path
  File "c:\users\shid\appdata\local\programs\python\python37\lib\site-packages\subaligner\predictor.py", line 593, in __predict
    video_file_path, True, 16000
  File "c:\users\shid\appdata\local\programs\python\python37\lib\site-packages\subaligner\media_helper.py", line 90, in extract_audio
    bufsize=1,
  File "c:\users\shid\appdata\local\programs\python\python37\lib\subprocess.py", line 800, in __init__
    restore_signals, start_new_session)
  File "c:\users\shid\appdata\local\programs\python\python37\lib\subprocess.py", line 1207, in _execute_child
    startupinfo)

If I take model.hdf5 from the model folder and place it in weights then it comes up with this; in 0.2.1 it comes up with the exact same error without moving it:

2022-03-19 21:53:47.468418: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'cudart64_110.dll'; dlerror: cudart64_110.dll not found
2022-03-19 21:53:47.468589: I tensorflow/stream_executor/cuda/cudart_stub.cc:29] Ignore above cudart dlerror if you do not have a GPU set up on your machine.
ERROR: list index out of range

  File "c:\users\shid\appdata\local\programs\python\python37\lib\site-packages\subaligner\__main__.py", line 247, in main
    exit_segfail=exit_segfail,
  File "c:\users\shid\appdata\local\programs\python\python37\lib\site-packages\subaligner\predictor.py", line 120, in predict_dual_pass
    video_file_path, subtitle_file_path, weights_file_path
  File "c:\users\shid\appdata\local\programs\python\python37\lib\site-packages\subaligner\predictor.py", line 731, in __predict
    network = self.__initialise_network(os.path.dirname(weights_file_path), self.__LOGGER)
  File "c:\users\shid\appdata\local\programs\python\python37\lib\site-packages\subaligner\predictor.py", line 496, in __initialise_network
    hyperparams_path = "{}/{}".format(config_dir, hyperparams_files[0])

Python version: 3.7.9
Subaligner version: 0.2.3

[Suggestion] Is there a way to run in batch mode?

It would be nice if were possible to run in batch mode, like, sync all files in a folder and subfolders, for example for tv shows with seasons directories. I've searched in the documentation but found nothing about it and maybe would be a good feature.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.