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

unable to import module #480

Open
RieGo opened this issue Jul 15, 2023 · 1 comment
Open

unable to import module #480

RieGo opened this issue Jul 15, 2023 · 1 comment

Comments

@RieGo
Copy link

RieGo commented Jul 15, 2023

Hello, just discovered, that this module doesn't work on my system (W11, Scarlett Solo Audio Device)

whenever I import this module, python just silently quits.
Tested on Python 3.10.10 and Python 3.11.1

This is a big deal, because whenever another module depends on this, whatever you're trying to run just silently quits. I don't get any error message and i can't even catch this as import exception.

If i can help somehow please let me know. thanks.

@HaujetZhao
Copy link

Download and decompress sherpa-onnx-portaudio.zip , use the sherpa-onnx-portaudio.dll to replace libportaudio64bit.dll of sounddevice module. (remember renaming)

I don't know why, but this works.

I think it's because the libportaudio64bit.dll that sounddevice contains is not compiled under windows system.

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