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
質問済み 5ヶ月前242ビュー
1回答
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
エキスパート
Uri
回答済み 5ヶ月前
  • 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 !

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ