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
demandé il y a 5 mois242 vues
1 réponse
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
EXPERT
Uri
répondu il y a 5 mois
  • 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 !

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions