MahmoudAshraf97 / whisper-diarization

Automatic Speech Recognition with Speaker Diarization based on OpenAI Whisper
BSD 2-Clause "Simplified" License
3.45k stars 291 forks source link

error: subprocess-exited-with-error when installing requirements.txt #137

Open brianbell-x opened 10 months ago

brianbell-x commented 10 months ago

Preparing metadata (setup.py) ... error error: subprocess-exited-with-error

× python setup.py egg_info did not run successfully. │ exit code: 1 ╰─> [7 lines of output] fatal: not a git repository (or any of the parent directories): .git Traceback (most recent call last): File "", line 2, in File "", line 34, in File "C:\Users\B\AppData\Local\Temp\pip-install-scjff5dr\onnx_1fd13208ee2841d5aef421cabb54e471\setup.py", line 318, in raise FileNotFoundError("Unable to find " + requirements_file) FileNotFoundError: Unable to find requirements.txt [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. error: metadata-generation-failed

× Encountered error while generating package metadata. ╰─> See above for output.

note: This is an issue with the package mentioned above, not pip. hint: See above for details.

gustavomr commented 10 months ago

Same here. First I needed to updated faster-whisper==0.10.0 and then receiving the same error above.

brianbell-x commented 10 months ago

Do I need to provide more information to help troubleshoot this?

jkogara commented 10 months ago

Was getting the same error using python 3.11, switched to 3.8 and it resolved the issue.