seamless_communication icon indicating copy to clipboard operation
seamless_communication copied to clipboard

[help] libsndfile is not found | mac m1 proMax, sonoma14.4

Open OpenSourceCommunityInterface opened this issue 8 months ago • 2 comments

(base) ➜ seamless_communication git:(main) ✗ m4t_predict ./input/test.mp3 --task s2st --tgt_lang fra --output_path ./output Traceback (most recent call last): File "/opt/homebrew/bin/m4t_predict", line 5, in from seamless_communication.cli.m4t.predict.predict import main File "/opt/homebrew/lib/python3.9/site-packages/seamless_communication/init.py", line 9, in from fairseq2.assets import FileAssetMetadataProvider, asset_store File "/opt/homebrew/lib/python3.9/site-packages/fairseq2/init.py", line 9, in import fairseq2n File "/opt/homebrew/lib/python3.9/site-packages/fairseq2n/init.py", line 110, in _load_shared_libraries() File "/opt/homebrew/lib/python3.9/site-packages/fairseq2n/init.py", line 33, in _load_shared_libraries _load_sndfile() File "/opt/homebrew/lib/python3.9/site-packages/fairseq2n/init.py", line 58, in _load_sndfile raise OSError( OSError: libsndfile is not found! Since you are in a Conda environment, use conda install -c conda-forge libsndfile==1.0.31 to install it.