AttributeError: module 'signal' has no attribute 'SIGKILL'
Closed this issue · 2 comments
paulallington commented
I have installed on Windows, and installing requirements ran without any problem. Running
python3 diarize.py -a waveoutput.wav
Generated the following error:
Traceback (most recent call last):
File "C:\Users\paul\Transcribe\whisper-diarization\diarize.py", line 17, in <module>
from nemo.collections.asr.models.msdd_models import NeuralDiarizer
File "C:\Users\paul\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\nemo\collections\asr\__init__.py", line 15, in <module>
from nemo.collections.asr import data, losses, models, modules
File "C:\Users\paul\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\nemo\collections\asr\models\__init__.py", line 15, in <module>
from nemo.collections.asr.models.aed_multitask_models import EncDecMultiTaskModel
File "C:\Users\paul\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\nemo\collections\asr\models\aed_multitask_models.py", line 32, in <module>
from nemo.collections.asr.metrics import BLEU, WER
File "C:\Users\paul\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\nemo\collections\asr\metrics\__init__.py", line 15, in <module>
from nemo.collections.asr.metrics.bleu import BLEU
File "C:\Users\paul\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\nemo\collections\asr\metrics\bleu.py", line 22, in <module>
from nemo.collections.asr.parts.submodules.multitask_decoding import AbstractMultiTaskDecoding
File "C:\Users\paul\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\nemo\collections\asr\parts\submodules\multitask_decoding.py", line 23, in <module>
from nemo.collections.asr.parts.submodules.multitask_beam_decoding import (
File "C:\Users\paul\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\nemo\collections\asr\parts\submodules\multitask_beam_decoding.py", line 21, in <module>
from nemo.collections.asr.modules.transformer import BeamSearchSequenceGenerator
File "C:\Users\paul\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\nemo\collections\asr\modules\__init__.py", line 23, in <module>
from nemo.collections.asr.modules.conformer_encoder import ConformerEncoder, ConformerEncoderAdapter
File "C:\Users\paul\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\nemo\collections\asr\modules\conformer_encoder.py", line 26, in <module>
from nemo.collections.asr.models.configs import CacheAwareStreamingConfig
File "C:\Users\paul\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\nemo\collections\asr\models\configs\__init__.py", line 15, in <module>
from nemo.collections.asr.models.configs.asr_models_config import (
File "C:\Users\paul\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\nemo\collections\asr\models\configs\asr_models_config.py", line 27, in <module>
from nemo.core.config import modelPT as model_cfg
File "C:\Users\paul\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\nemo\core\config\modelPT.py", line 22, in <module>
from nemo.utils import exp_manager
File "C:\Users\paul\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\nemo\utils\exp_manager.py", line 160, in <module>
class FaultToleranceParams:
File "C:\Users\paul\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\nemo\utils\exp_manager.py", line 169, in FaultToleranceParams
rank_termination_signal: signal.Signals = signal.SIGKILL
AttributeError: module 'signal' has no attribute 'SIGKILL'. Did you mean: 'SIGILL'?
Any idea what's happening here?
MahmoudAshraf97 commented
Nemo v2.0.0rc1
introduced a function that is not compatible with windows, in the meantime, downgrade to v2.0.0rc0
MahmoudAshraf97 commented
solved in latest commit