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

Cannot Install openai-whisper on the raspberrypi zero 2w #5

Open
boringtaskai opened this issue Dec 19, 2024 · 2 comments
Open

Cannot Install openai-whisper on the raspberrypi zero 2w #5

boringtaskai opened this issue Dec 19, 2024 · 2 comments

Comments

@boringtaskai
Copy link

boringtaskai commented Dec 19, 2024

Hi,

What version of openai-whisper do you use with raspberrypi zero 2w?

I got error dependencies conflict:

ERROR: Cannot install openai-whisper==20230117, openai-whisper==20230124, openai-whisper==20230306, openai-whisper==20230307, openai-whisper==20230308, openai-whisper==20230314, openai-whisper==20230918, openai-whisper==20231105, openai-whisper==20231106, openai-whisper==20231117, openai-whisper==20240927 and openai-whisper==20240930 because these package versions have conflicting dependencies.

The conflict is caused by:
openai-whisper 20240930 depends on torch
openai-whisper 20240927 depends on torch
openai-whisper 20231117 depends on torch
openai-whisper 20231106 depends on torch
openai-whisper 20231105 depends on torch
openai-whisper 20230918 depends on torch
openai-whisper 20230314 depends on torch
openai-whisper 20230308 depends on torch
openai-whisper 20230307 depends on torch
openai-whisper 20230306 depends on triton>=2.0.0.dev20221202
openai-whisper 20230124 depends on torch
openai-whisper 20230117 depends on torch

@boringtaskai
Copy link
Author

Hi,

I succeeded in installing Whisper. cpp on a Raspberry Pi Zero 2w. Now, do you know how to use it to run in pidog / python script?

@Lovmong
Copy link
Contributor

Lovmong commented Dec 24, 2024

openai-whisper - is an offline STT library, you can replace stt() in gpt_pidog.py with speech_recognition_stt() to use it.
image
image
In fact, using online STT is better compared to offline,and the speed might be faster as well.

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

2 participants