R3gm / SoniTranslate

Synchronized Translation for Videos. Video dubbing
Apache License 2.0
888 stars 165 forks source link

ModuleNotFoundError: No module named 'rarfile' #78

Open LearnAI-gold opened 3 months ago

LearnAI-gold commented 3 months ago

Hi,

Thank you for sharing the project detail. I followed your instruction on Window 11 using anaconda prompt. While running below command,I am getting error. Can you please suggest solution.

(sonitr) C:\Windows\System32\SoniTranslate>python app_rvc.py The torchaudio backend is switched to 'soundfile'. Note that 'sox_io' is not supported on Windows. The torchaudio backend is switched to 'soundfile'. Note that 'sox_io' is not supported on Windows. Traceback (most recent call last): File "C:\Windows\System32\SoniTranslate\app_rvc.py", line 10, in from soni_translate.audio_segments import create_translated_audio File "C:\Windows\System32\SoniTranslate\soni_translate\audio_segments.py", line 3, in from .utils import run_command File "C:\Windows\System32\SoniTranslate\soni_translate\utils.py", line 1, in import os, zipfile, rarfile, shutil, subprocess, shlex, sys # noqa ModuleNotFoundError: No module named 'rarfile'

LearnAI-gold commented 3 months ago

Fixed with Pip install command,

pip install rarfile