OpenVoice icon indicating copy to clipboard operation
OpenVoice copied to clipboard

numpy.core.multiarray failed to import

Open youngmihuang opened this issue 1 year ago • 1 comments

I installed numpy-1.22.4 (align with requirements.txt) and env is apple M1. I tried to reinstall with numpy-1.24.4 but not compatible with melo package version.

One more question, is there any recommended python version ?

~/miniforge3/envs/python38/lib/python3.8/site-packages/dtw/_globalCostMatrix.py in <module>
      1 import numpy
      2 from dtw.window import noWindow
----> 3 from dtw._dtw_utils import _computeCM_wrapper
      4 
      5 

~/miniforge3/envs/python38/lib/python3.8/site-packages/dtw/_dtw_utils.pyx in init dtw._dtw_utils()

ImportError: numpy.core.multiarray failed to import (auto-generated because you didn't call 'numpy.import_array()' after cimporting numpy; use '<void>numpy._import_array' to disable if you are certain you don't need it).

youngmihuang avatar Jun 20 '24 02:06 youngmihuang

See

#164

Raise the version of numpy in the setup.py

-numpy==1.22.0
+numpy==1.26.4

D-Idan avatar Sep 01 '24 12:09 D-Idan