vosk-api icon indicating copy to clipboard operation
vosk-api copied to clipboard

Import ".vosk_cffi" could not be resolved

Open donyam opened this issue 1 year ago • 8 comments

I was imported vosk but I have this error

donyam avatar Aug 08 '22 06:08 donyam

You can debug imports with verbose option to python. Most likely you have some extra files preventing proper module resoltuion.

nshmyrev avatar Aug 08 '22 06:08 nshmyrev

No ,I don't have extera file

Capture

donyam avatar Aug 08 '22 13:08 donyam

This file is created when you run setup.py. You are doing wrong things on your screenshot.

nshmyrev avatar Aug 08 '22 17:08 nshmyrev

Yes, that's right - it was done. But why do I have this error: fatal error: ../src/vosk_api.h: No such file or directory Why this file does not exist when vosk is installed

donyam avatar Aug 09 '22 09:08 donyam

But why do I have this error:

The answer on this question depends on what you are doing currently, what command are you trying to run, what change are you trying to make.

nshmyrev avatar Aug 09 '22 09:08 nshmyrev

But why do I have this error:

The answer on this question depends on what you are doing currently, what command are you trying to run, what change are you trying to make.

Running time of the vosk_builder.py file

donyam avatar Aug 09 '22 14:08 donyam

vosk_builder.py is a part of packaging code, do you run it through setup?

nshmyrev avatar Aug 09 '22 14:08 nshmyrev

vosk_builder.py is a part of packaging code, do you run it through setup?

Yes, I did this

donyam avatar Aug 09 '22 18:08 donyam