Traceback (most recent call last):
File "D:\VoiceToJapanese.v1.2.4-py\UI-v1.2.4-py\files.venv\lib\site-packages\transformers\utils\import_utils.py", line 1126, in _get_module
return importlib.import_module("." + module_name, self.name)
File "C:\Users\MellowFishy\AppData\Local\Programs\Python\Python310\lib\importlib__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1050, in _gcd_import
File "", line 1027, in _find_and_load
File "", line 1006, in _find_and_load_unlocked
File "", line 688, in _load_unlocked
File "", line 883, in exec_module
File "", line 241, in _call_with_frames_removed
File "D:\VoiceToJapanese.v1.2.4-py\UI-v1.2.4-py\files.venv\lib\site-packages\transformers\pipelines__init__.py", line 45, in
from .audio_classification import AudioClassificationPipeline
File "D:\VoiceToJapanese.v1.2.4-py\UI-v1.2.4-py\files.venv\lib\site-packages\transformers\pipelines\audio_classification.py", line 21, in
from .base import PIPELINE_INIT_ARGS, Pipeline
File "D:\VoiceToJapanese.v1.2.4-py\UI-v1.2.4-py\files.venv\lib\site-packages\transformers\pipelines\base.py", line 36, in
from ..modelcard import ModelCard
File "D:\VoiceToJapanese.v1.2.4-py\UI-v1.2.4-py\files.venv\lib\site-packages\transformers\modelcard.py", line 48, in
from .training_args import ParallelMode
File "D:\VoiceToJapanese.v1.2.4-py\UI-v1.2.4-py\files.venv\lib\site-packages\transformers\training_args.py", line 60, in
import torch.distributed as dist
ModuleNotFoundError: No module named 'torch.distributed'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "D:\VoiceToJapanese.v1.2.4-py\UI-v1.2.4-py\files\UI.py", line 6, in
import STTSLocal as STTS
File "D:\VoiceToJapanese.v1.2.4-py\UI-v1.2.4-py\files\STTSLocal.py", line 17, in
import translator
File "D:\VoiceToJapanese.v1.2.4-py\UI-v1.2.4-py\files\translator.py", line 2, in
from transformers import pipeline
File "", line 1075, in _handle_fromlist
File "D:\VoiceToJapanese.v1.2.4-py\UI-v1.2.4-py\files.venv\lib\site-packages\transformers\utils\import_utils.py", line 1116, in getattr
module = self._get_module(self._class_to_module[name])
File "D:\VoiceToJapanese.v1.2.4-py\UI-v1.2.4-py\files.venv\lib\site-packages\transformers\utils\import_utils.py", line 1128, in _get_module
raise RuntimeError(
RuntimeError: Failed to import transformers.pipelines because of the following error (look up to see its traceback):
No module named 'torch.distributed'
Traceback (most recent call last): File "D:\VoiceToJapanese.v1.2.4-py\UI-v1.2.4-py\files.venv\lib\site-packages\transformers\utils\import_utils.py", line 1126, in _get_module return importlib.import_module("." + module_name, self.name) File "C:\Users\MellowFishy\AppData\Local\Programs\Python\Python310\lib\importlib__init__.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 1050, in _gcd_import
File "", line 1027, in _find_and_load
File "", line 1006, in _find_and_load_unlocked
File "", line 688, in _load_unlocked
File "", line 883, in exec_module
File "", line 241, in _call_with_frames_removed
File "D:\VoiceToJapanese.v1.2.4-py\UI-v1.2.4-py\files.venv\lib\site-packages\transformers\pipelines__init__.py", line 45, in
from .audio_classification import AudioClassificationPipeline
File "D:\VoiceToJapanese.v1.2.4-py\UI-v1.2.4-py\files.venv\lib\site-packages\transformers\pipelines\audio_classification.py", line 21, in
from .base import PIPELINE_INIT_ARGS, Pipeline
File "D:\VoiceToJapanese.v1.2.4-py\UI-v1.2.4-py\files.venv\lib\site-packages\transformers\pipelines\base.py", line 36, in
from ..modelcard import ModelCard
File "D:\VoiceToJapanese.v1.2.4-py\UI-v1.2.4-py\files.venv\lib\site-packages\transformers\modelcard.py", line 48, in
from .training_args import ParallelMode
File "D:\VoiceToJapanese.v1.2.4-py\UI-v1.2.4-py\files.venv\lib\site-packages\transformers\training_args.py", line 60, in
import torch.distributed as dist
ModuleNotFoundError: No module named 'torch.distributed'
The above exception was the direct cause of the following exception:
Traceback (most recent call last): File "D:\VoiceToJapanese.v1.2.4-py\UI-v1.2.4-py\files\UI.py", line 6, in
import STTSLocal as STTS
File "D:\VoiceToJapanese.v1.2.4-py\UI-v1.2.4-py\files\STTSLocal.py", line 17, in
import translator
File "D:\VoiceToJapanese.v1.2.4-py\UI-v1.2.4-py\files\translator.py", line 2, in
from transformers import pipeline
File "", line 1075, in _handle_fromlist
File "D:\VoiceToJapanese.v1.2.4-py\UI-v1.2.4-py\files.venv\lib\site-packages\transformers\utils\import_utils.py", line 1116, in getattr
module = self._get_module(self._class_to_module[name])
File "D:\VoiceToJapanese.v1.2.4-py\UI-v1.2.4-py\files.venv\lib\site-packages\transformers\utils\import_utils.py", line 1128, in _get_module
raise RuntimeError(
RuntimeError: Failed to import transformers.pipelines because of the following error (look up to see its traceback):
No module named 'torch.distributed'