M1 Mac Installation Troubleshooting Guide for Whisper, Ffmpeg and Brew #1238
brett-b112
started this conversation in
General
Replies: 1 comment
-
|
Very Helpful Thanks! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Troubleshooting Installing Whisper
If
piporpip3is not found this could be a pathing issue try article article to solve this problem.If you run into problems installing whisper with commands such as
pip install -U openai-whisperor updating withpip install --upgrade --no-deps --force-reinstall git+https://github.com/openai/whisper.gitretry the commands using pip3Alternatively, the following command will pull and install the latest commit from this repository, along with its Python dependencies:
To update the package to the latest version of this repository, please run:
If none of these work it is possible that this module was previously installed on your device, check with:
pip list or pip3 list
search for whisper within the list to determine if it's already on your machine.
Troubleshooting Installing Brew
Installing homebrew from the command line using the script provided from their official website brew.sh
After installing brew ensure that you read the last few lines and copied them into terminal to add to your current environment PATH. If you forgot to copy them modified versions are below.
Remove the
#and insert your usr name in 'INSERT USER NAME HERE' before pasting in terminal to ensure that it is installed in the proper paths.If this did not solve the issue you can try this alternative method
Command + Shift + .to view the hidden folders.zshrcfolderexport PATH=/opt/homebrew/bin:$PATHto the folderTroubleshooting Installing Ffmpeg
Whispers README.md uses an outdated version of Ffmpeg with more functionality and modularity within the project. This can be found here.
The full documentation of whisper can be found here
Not to many errors arise here if brew is installed correctly however, if you do refer to whisper README.
If you encounter errors while pip installing:
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | shIf rusts exists but is out of date try:
rustup updateIf you encounter further pathing errors try
export PATH="$HOME/.cargo/bin:$PATH"If
No module named 'setuptools_rust'exists try:pip install setuptools-rustorpip3 install setuptools-rustThis is a quick condensed trouble shooting guide for problems I faced and have seen online facing those trying to get Whisper installed on M1 Mac.
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions