Trouble installing pydub (FFMPEG more precisely)

0

Hello everyone ,

I ve created a zip file containing pydub and ffmpeg and put it on a amazon lamda layer . I ve tried locally before running my lambda script if everything was working and it was , but everytime I run my lambda script it says that pydub cannot found my ffmpeg even though it is in the same zipfile . was wondering what was I doing wrong . If you need any information i would be glad to send more .

Nick
posta 5 mesi fa242 visualizzazioni
1 Risposta
0

Make sure that your dependencies are not in th eroot of the zip file, but rather in the 'python' or 'python/lib/python3.x/site-packages' folders, as described here.

profile pictureAWS
ESPERTO
Uri
con risposta 5 mesi fa
  • Thank you very much and i did that , my script is recoingzing the PYDUB library but pydub can t access FFMPEG and i dont understand why since its also in the site packages !! So I was wondering if the FFMPEG must also be in the site-packages , or should i leave it somewhere else !

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande