Windows installation instructions - update #266
Replies: 3 comments 6 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. Have trouble with it on Win11 on step 9. Im get error with sentencepiece-0.2.0.tar.gz. |
Beta Was this translation helpful? Give feedback.

Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
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.pylocated at "path\to\your\env\Lib\site-packages\ctc_forced_aligner"Maybe consider updating the
READMEas well.Beta Was this translation helpful? Give feedback.
All reactions