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

ModuleNotFoundError: No module named 'numpy._core' #174

Open
lightandblue opened this issue Dec 25, 2024 · 2 comments
Open

ModuleNotFoundError: No module named 'numpy._core' #174

lightandblue opened this issue Dec 25, 2024 · 2 comments

Comments

@lightandblue
Copy link

run_audio.sh Stage5: Perform clustering and postprocessing, and output sys rttms... [INFO] Start clustering...
[INFO] Start clustering...
[INFO] Start clustering...
[INFO] Start clustering...
Traceback (most recent call last):
File "local/cluster_and_postprocess.py", line 122, in main()
File "local/cluster_and_postprocess.py", line 116, in main audio_only_func(local_wav_list, args.audio_embs_dir, args.rttm_dir, config) File "local/cluster_and_postprocess.py", line 59, in audio_only_func stat_obj = pickle.load(f) ModuleNotFoundError: No module named 'numpy._core' Traceback (most recent call last):
File "local/cluster_and_postprocess.py", line 122, in main()
File "local/cluster_and_postprocess.py", line 116, in main audio_only_func(local_wav_list, args.audio_embs_dir, args.rttm_dir, config) File "local/cluster_and_postprocess.py", line 59, in audio_only_func stat_obj = pickle.load(f) ModuleNotFoundError: No module named 'numpy._core'
我在跑speaker-diarization的run_audio.sh的stage5时候,会遇到有关numpy的报错,
你们推荐numpy>=1.20.0,<1.24,我的numpy版本为1.23.5满足要求,我尝试过其他版本的numpy都不能成功运行,请问有什么解决办法吗

@wanghuii1
Copy link
Collaborator

可能是环境出了问题,可以pip install --force-reinstall numpy==1.23.5重装numpy,如果还不行可以重新另装一个conda环境试试

@lightandblue
Copy link
Author

Collaborator
我这个环境是新创建的,reinstall也不行

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