Linux install instructions #83
Replies: 3 comments 8 replies
-
Thank you very much for these detailed instructions! I will link to this post from the main Readme. |
Beta Was this translation helpful? Give feedback.
-
You're welcome. |
Beta Was this translation helpful? Give feedback.
-
Hi, thank you for the instructions!
Therefore I downgraded numpy to version 1.26.4, Step2 runs correctly, but then I'm getting error on Step3 (printed only on GUI):
and on the terminal the only printed text is:
I don't understand where exactly the threshold is given as argument, and how to fix it. |
Beta Was this translation helpful? Give feedback.
-
Hi,
Thanks a lot for all your work.
I've been able to install noScribe and noScribeEdit on linux (ubuntu).
Here are the steps I followed : I hope it might help some people (feel free to edit/reuse as you want).
FYI, I've had to make a few very minor edits in order for the two softwares to work well together. (I might make it cleaner and submit pull requests at some points...)
Installation Instructions:
Note : The procedure below uses a python virtual environment
Make sure to have python and pip installed
Download and extract the latest NoScribe sourcecode from https://github.com/kaixxx/noScribe/releases
Download and extract the latest NoScribeEdit sourcecode from https://github.com/kaixxx/noScribeEditor
Put the noScribeEditor inside the NoScribe folder you dowloaded previously, and rename the
noScribeEditor
folder asnoScribeEdit
Open a terminal and
cd
in the NoScribe directoryEnter the following command lines :
Download all the files from https://huggingface.co/guillaumekln/faster-whisper-large-v2/tree/main to the models/faster-whisper-large-v2 to the models/faster-whisper-large-v2 within your noScribe folder
Download all the files from https://huggingface.co/guillaumekln/faster-whisper-small/tree/main to the models/faster-whisper-small to the models/faster-whisper-small within your noScribe folder
Edit the noScribe.py file as follow in order to be able to open noScribeEditor from noScribe
Edit line 566 so that it reads
program = os.path.join(app_dir, 'noScribeEdit', "noScribeEdit.py")
Edit line 578 so that it reads
Popen(['python3', program, file], **kwargs) #might need to be python instead of python3 depending on your environment
Edit line 580 so that it reads
Popen(['python3', program], **kwargs)
Launching noScribe :
Open a terminal and cd into the directory where the noScribe sources are located
Activate your virtual environment with
source .venv/bin/activate
Run
python3 noScribe.py
HiDPI issue :
If you have a HiDpi screen, noScribe window and font might be very small.
You can add the following lines to the noScribe.py file after line 70
Sidenote : Sometimes, when you select a filename for saving, the "." is missing before the extension by default and this throws an error. Just manually add the dot.
Beta Was this translation helpful? Give feedback.
All reactions