Windows installation instructions - update #266
Replies: 2 comments 5 replies
-
Hello, Please guide me how to run it for windows. I am facing same bugs while installing dependencies and running the code locally. |
Beta Was this translation helpful? Give feedback.
-
one note about your instructions regarding the venv so what i do in projects like this: #go into the folder whisper-diarisation will be in:
# like ~/apps/
git clone https://github.com/MahmoudAshraf97/whisper-diarization.git
cd whisper-diarization
python -m venv .
scripts/activate then go through the rest of your steps. When you want to run it again cd ~/whisper-diarization
scripts/activate
python diarize.py <...> now for windows, mostly the same but you need to be in powershell. if you have windows 11 # root folder - in this example the "installed path" will be
# c:\whisper-diarization\
# note i am unsure if this exact command will work, i run everything in like d:\opt\whisper\
cd c:\
git clone https://github.com/MahmoudAshraf97/whisper-diarization.git
cd whisper-diarization
python -m venv .
#you need to run the following code snippet to allow powershell to *run* script files:
Set-ExecutionPolicy -ExecutionPolicy Bypass -Scope process
.\Scripts\Activate.ps1 and then the rest. I'll check this again with fresh eyes in a bit, but this is what i do. to go back into the venv after a reboot or whatever: cd c:\whisper-diarization\
Set-ExecutionPolicy -ExecutionPolicy Bypass -Scope process
.\Scripts\Activate.ps1 |
Beta Was this translation helpful? Give feedback.
-
Hi, even though it gave me a bit of trouble I installed it and it runs perfectly fine.
I've graciously decided to share my knowledge to the rest of the Windows script kiddies like me.
So:
I managed to trace down the 'perl' requirement and it's at L153 in
text_utils.py
located at "path\to\your\env\Lib\site-packages\ctc_forced_aligner"Maybe consider updating the
README
as well.Beta Was this translation helpful? Give feedback.
All reactions