Skip to content
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

It doesn't start #19

Open
tormyvancool opened this issue Mar 18, 2024 · 8 comments
Open

It doesn't start #19

tormyvancool opened this issue Mar 18, 2024 · 8 comments

Comments

@tormyvancool
Copy link

tormyvancool commented Mar 18, 2024

DR 18.6.5 Studio
Windows 11 Pro

The script installed itself correctly. no errors.
But when I fire it up on DaVinci, it doesn't start at all.

To install the script I chose for the auto installer in PowerShell

@tmoroney
Copy link
Owner

Check the console in Resolve to see if there are any errors. If the console is blank, then that means Python hasn't installed correctly. If this is the case, then download Python from the official website and install it that way.

@tormyvancool
Copy link
Author

tormyvancool commented Mar 18, 2024

Check the console in Resolve to see if there are any errors. If the console is blank, then that means Python hasn't installed correctly. If this is the case, then download Python from the official website and install it that way.

It returns No module named 'stable_whisper"

image

Which is the very first line of the script
image

@tormyvancool
Copy link
Author

tormyvancool commented Mar 18, 2024

NOTE: even by installing the module pip install openai-whisper --no-cache-dir your script returns the same error

NOTE: Pythons is working fine and it's correctly installed.

image

@philexh
Copy link

philexh commented Mar 19, 2024

Fixed it by changing the import to just "whisper"

@tormyvancool
Copy link
Author

tormyvancool commented Mar 19, 2024

Fixed it by changing the import to just "whisper"

It works splendidly! Thank you.
@tmoroney wait for an update since I want some of my customers to install this script.

EDIT 3: ok I had a crash then restarted DRS and redo everything but not any subtitle was generated. I
Then I discovered that the name should be changed also at line 271
But it takes a very long time for a just 7 seconds clip, as you can see here below and it ends with an error

image

The error

image

@tmoroney
Copy link
Owner

Changing the name to "whisper" will NOT work because the script depends on stable-whisper for many things.

Try running pip install stable-ts to install stable-whisper.

@tormyvancool
Copy link
Author

tormyvancool commented Mar 19, 2024

Changing the name to "whisper" will NOT work because the script depends on stable-whisper for many things.

Try running pip install stable-ts to install stable-whisper.

Yes it worked out.
Unfortunately after a while DRS crashed as well ... I'm retrying it to be sure it's not due the script

EDIT: it seems the crash was not correlated with your script.

NOTE: please it has leftovers into the folder UTILITY. Can you add an option to delete them?

@Vq-x
Copy link

Vq-x commented Apr 15, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants