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

the version of Numpy Api is unmatched #368

Open
endlessYoung opened this issue Mar 2, 2025 · 1 comment
Open

the version of Numpy Api is unmatched #368

endlessYoung opened this issue Mar 2, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@endlessYoung
Copy link

RuntimeError: module compiled against API version 0x10 but this version of numpy is 0xf
Traceback (most recent call last):
File "D:\Python\PythonProjects\VoiceClone\OpenVoice\openvoice\se_extractor.py", line 5, in
import librosa
File "D:\Python\PythonProjects\VoiceClone\OpenVoice\venv\Lib\site-packages\librosa_init_.py", line 209, in
from . import core
File "D:\Python\PythonProjects\VoiceClone\OpenVoice\venv\Lib\site-packages\librosa\core_init_.py", line 5, in
from .convert import * # pylint: disable=wildcard-import

Image

Could u tell me how to fixed this issue? Thanks!

Copy link

dosubot bot commented Mar 2, 2025

Hey @endlessYoung! I'm here to help with any bugs or questions you have while waiting for a human maintainer. Let's tackle this issue together!

To fix the RuntimeError caused by a mismatch between the compiled API version of a module and the current version of NumPy when importing the librosa library, use Python 3.9 instead of newer Python versions (like 3.11). This error occurs due to version incompatibility between Python and the required dependencies [1].

To continue talking to Dosu, mention @dosu.


Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Bug Report | Other

@dosubot dosubot bot added the bug Something isn't working label Mar 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant