-
-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No module named "stable-whisper" #12
Comments
I would love to have some more assistance, thanks! And happy new year! |
Not sure what the issue is here. Try using the auto-install method I added to the documentation. |
I'd recommend joining the discord if you are having issues. |
im having the same problem |
Changing the import to just "whisper" helped me fix the problem! |
But whisper is a completely different Library hahaha
I fixed it by reinstalling and reinstall python
…On Tue, 19 Mar 2024, 15:11 philexh, ***@***.***> wrote:
Changing the import to just "whisper" helped me fix the problem!
—
Reply to this email directly, view it on GitHub
<#12 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEYH3S365EOJ77WYUYJVV3LYZBBPPAVCNFSM6AAAAABAZMNPHCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMBXGI4DMOJWG4>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
go the auto subs using the guide |
well it is going to show up but stop at "name 'stable_whisper' is not defined" and won't do anything after. |
pip install stable-ts==1.1.1b0 should solve the problem ;) |
well... |
open powershell type this |
idk bout your second error but this is for the first erros so reinstall everything then do that if the error you first wrote came up again |
I have found that it is due to multiple versions of python on your system. If your pip command is connected to another version of python then it is installing all of the packages else where, on my system I had both Python 3.10 and 3.12 so I uninstalled 3.10 and restarted my PC. I also reinstalled with the PowerShell command and it works. |
If you encounter the problem in Mac OS X I did not find the solution, but one reason. Regarding Mac OS X and Apple Silicon (M1, M2 etc.) the problem is that some packages are compiled for x86 and some compiled in ARM64. In my case numpy is the problem. You can install arch specific packages when available like so:
Numpy still has a problem, so no solution yet.
|
After hours of pulling my hair, I’ve found the solution!
Voilà! It should work now! The problem is exactly what @Vq-x stated—having multiple Python versions and not being able to control which version resolve is using and where pip installs stuff by default. I’m not a programmer, so I assume there’s a more elegant solution to this mess. Maybe @tmoroney can integrate something in the script itself? ;) Edit: That launched the script, but there were still issues. Ultimately, I decided to uninstall all versions of python installed through homebrew and reinstalled through the official installer on the website. Now the script works without any issues. However, the above solution may still work for you. |
Hi I am also getting this error |
I was able to fix mine on WIndows after making sure DaVinci and my system were using the same Python version. After some uninstalling and installing of Python, I did: pip3 install -U stable-ts, in my PowerShell, and it worked after already doing: pip3 install -U openai-whisper |
I encountered the same problem with no module stable-whisper and solution that worked for me was:
After this you should be good to go |
^^ Tried this, did not work. The solution that worked for me was
|
On Mac, what I found to work is to ensure the packages are all installed, e.g., whisper, stable-ts, etc.
`import sys sys.path.append( One other thing is to ensure the version of NumPy is accurate. Someone already mentioned downgrading NumPy; I had to do that as well. |
MvP, thanks |
I installed the script, but it seems that it doesn't work for me.
Auto subs light works.
Traceback (most recent call last):
File "", line 1, in
NameError: name 'i' is not defined. Did you mean: 'id'?
Traceback (most recent call last):
File "/Library/Application Support/Blackmagic Design/DaVinci Resolve/Fusion/Scripts/Utility/auto-subs.py", line 1, in
import stable_whisper
ModuleNotFoundError: No module named 'stable_whisper'
I asked in the stable-whisper github but apparently they have no idea
The text was updated successfully, but these errors were encountered: