openai / jukebox

Code for the paper "Jukebox: A Generative Model for Music"
https://openai.com/blog/jukebox/
Other
7.82k stars 1.41k forks source link

error at trying jukebox importerror #261

Open Postconceptlab opened 2 years ago

Postconceptlab commented 2 years ago

i have this when i launch jukebox python sample.py what xhould i have to do ?

python jukebox/sample.py --model=5b_lyrics --name=sample_5b --levels=3 --sample_length_in_seconds=20 \ --total_sample_length_in_seconds=180 --sr=44100 --n_samples=6 --hop_fraction=0.5,0.5,0.125 Traceback (most recent call last): File "jukebox/sample.py", line 8, in from jukebox.utils.audio_utils import save_wav, load_audio File "/home/antoine/jukebox/jukebox/jukebox/utils/audio_utils.py", line 4, in import soundfile File "/home/antoine/miniconda3/envs/jukebox/lib/python3.7/site-packages/soundfile.py", line 17, in from _soundfile import ffi as _ffi File "/home/antoine/miniconda3/envs/jukebox/lib/python3.7/site-packages/_soundfile.py", line 2, in import _cffi_backend ImportError: libffi.so.7: cannot open shared object file: No such file or directory

AlexeyPogorelov commented 2 years ago

the same for me

yfszzx commented 2 years ago

https://askubuntu.com/questions/1286772/libffi-so-7-cannot-open-shared-object-file-no-such-file-or-directory