John6666 commited on
Commit
ff61235
1 Parent(s): 1b64c6f

Upload requirements.txt

Browse files

This still doesn't work, but the error is clear.
In these situations, I recommend relying on Google and Bing.
Someone has had trouble with the same thing in the past. If not, we'll have to find a library.
It would be easier if I could just fix it with the github version of faiss-cpu...

```
===== Application Startup at 2024-09-04 05:25:00 =====


A module that was compiled using NumPy 1.x cannot be run in
NumPy 2.0.2 as it may crash. To support both 1.x and 2.x
versions of NumPy, modules must be compiled with NumPy 2.0.
Some module may need to rebuild instead e.g. with 'pybind11>=2.12'.

If you are a user of the module, the easiest solution will be to
downgrade to 'numpy<2' or try to upgrade the affected module.
We expect that some modules will need time to support NumPy 2.

Traceback (most recent call last): File "/home/user/app/app.py", line 2, in <module>
from rvc_infer import download_online_model
File "/usr/local/lib/python3.10/site-packages/rvc_infer/__init__.py", line 1, in <module>
from .infer import infer_audio
File "/usr/local/lib/python3.10/site-packages/rvc_infer/infer.py", line 6, in <module>
from rvc_infer.modules import VC
File "/usr/local/lib/python3.10/site-packages/rvc_infer/modules.py", line 19, in <module>
from rvc_infer.pipeline import Pipeline
File "/usr/local/lib/python3.10/site-packages/rvc_infer/pipeline.py", line 12, in <module>
import faiss
File "/usr/local/lib/python3.10/site-packages/faiss/__init__.py", line 16, in <module>
from .loader import *
File "/usr/local/lib/python3.10/site-packages/faiss/loader.py", line 55, in <module>
from .swigfaiss_avx2 import *
File "/usr/local/lib/python3.10/site-packages/faiss/swigfaiss_avx2.py", line 13, in <module>
from . import _swigfaiss_avx2
AttributeError: _ARRAY_API not found

A module that was compiled using NumPy 1.x cannot be run in
NumPy 2.0.2 as it may crash. To support both 1.x and 2.x
versions of NumPy, modules must be compiled with NumPy 2.0.
Some module may need to rebuild instead e.g. with 'pybind11>=2.12'.

If you are a user of the module, the easiest solution will be to
downgrade to 'numpy<2' or try to upgrade the affected module.
We expect that some modules will need time to support NumPy 2.

Traceback (most recent call last): File "/home/user/app/app.py", line 2, in <module>
from rvc_infer import download_online_model
File "/usr/local/lib/python3.10/site-packages/rvc_infer/__init__.py", line 1, in <module>
from .infer import infer_audio
File "/usr/local/lib/python3.10/site-packages/rvc_infer/infer.py", line 6, in <module>
from rvc_infer.modules import VC
File "/usr/local/lib/python3.10/site-packages/rvc_infer/modules.py", line 19, in <module>
from rvc_infer.pipeline import Pipeline
File "/usr/local/lib/python3.10/site-packages/rvc_infer/pipeline.py", line 12, in <module>
import faiss
File "/usr/local/lib/python3.10/site-packages/faiss/__init__.py", line 16, in <module>
from .loader import *
File "/usr/local/lib/python3.10/site-packages/faiss/loader.py", line 65, in <module>
from .swigfaiss import *
File "/usr/local/lib/python3.10/site-packages/faiss/swigfaiss.py", line 13, in <module>
from . import _swigfaiss
AttributeError: _ARRAY_API not found
Traceback (most recent call last):
File "/home/user/app/app.py", line 2, in <module>
from rvc_infer import download_online_model
File "/usr/local/lib/python3.10/site-packages/rvc_infer/__init__.py", line 1, in <module>
from .infer import infer_audio
File "/usr/local/lib/python3.10/site-packages/rvc_infer/infer.py", line 6, in <module>
from rvc_infer.modules import VC
File "/usr/local/lib/python3.10/site-packages/rvc_infer/modules.py", line 19, in <module>
from rvc_infer.pipeline import Pipeline
File "/usr/local/lib/python3.10/site-packages/rvc_infer/pipeline.py", line 12, in <module>
import faiss
File "/usr/local/lib/python3.10/site-packages/faiss/__init__.py", line 16, in <module>
from .loader import *
File "/usr/local/lib/python3.10/site-packages/faiss/loader.py", line 65, in <module>
from .swigfaiss import *
File "/usr/local/lib/python3.10/site-packages/faiss/swigfaiss.py", line 13, in <module>
from . import _swigfaiss
ImportError: numpy.core.multiarray failed to import
```

Files changed (1) hide show
  1. requirements.txt +30 -1
requirements.txt CHANGED
@@ -1 +1,30 @@
1
- git+https://github.com/blane187gt/rvc_infer
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ git+https://github.com/blane187gt/rvc_infer
2
+ deemix
3
+ fairseq
4
+ faiss-cpu
5
+ ffmpeg-python
6
+ gradio
7
+ lib
8
+ librosa
9
+ numpy
10
+ audio-separator[gpu]==0.17.5
11
+ scipy
12
+ yt_dlp
13
+ onnxruntime_gpu
14
+ praat-parselmouth
15
+ pedalboard
16
+ pydub
17
+ pyworld
18
+ Requests
19
+ scipy
20
+ soundfile
21
+ --find-links https://download.pytorch.org/whl/torch_stable.html
22
+ torch
23
+ torchcrepe
24
+ tqdm
25
+ yt_dlp
26
+ sox
27
+ torchfcpe
28
+ local_attention
29
+ ffmpeg
30
+ av