metavoice-src icon indicating copy to clipboard operation
metavoice-src copied to clipboard

Not sure about running instructions in Usage

Open lukaLLM opened this issue 1 year ago • 1 comments

So I install everything up to usage but when I run fast_inference I get no module named 'librosa' even though its seen in poetry show I installed everything on win in cmd following the instructions C:\Users\Luke\metavoice-src>poetry show librosa name : librosa version : 0.10.1 description : Python module for audio and music processing

dependencies

  • audioread >=2.1.9
  • decorator >=4.3.0
  • joblib >=0.14
  • lazy-loader >=0.1
  • msgpack >=1.0
  • numba >=0.51.0
  • numpy >=1.20.3,<1.22.0 || >1.22.0,<1.22.1 || >1.22.1,<1.22.2 || >1.22.2
  • pooch >=1.0
  • scikit-learn >=0.20.0
  • scipy >=1.2.0
  • soundfile >=0.12.1
  • soxr >=0.3.2
  • typing-extensions >=4.1.1

required by

  • audiocraft *

C:\Users\Luke\metavoice-src>poetry run python -i fam/llm/fast_inference.py Traceback (most recent call last): File "C:\Users\OneBonsai\metavoice-src\fam\llm\fast_inference.py", line 8, in import librosa ModuleNotFoundError: No module named 'librosa'

lukaLLM avatar Oct 25 '24 20:10 lukaLLM

I ran into the same error. When you are running poetry install it is failing at the torch install and it doesn't install the rest of the dependencies (librosa being the next in line). Using python3.10 fixes this.

saltchicken avatar Feb 02 '25 23:02 saltchicken