Ffmpeg is not installing in replit python

so i was trying to create a soundboard.py for my discord bot and it worked in my pc using visual studio code but, when i copy pasted that code again in replit and installed all the important packages and tried to play a sound then the bot was giving me this error :

Command raised an exception: ClientException: ffmpeg was not found.

this code was not giving any error in visual sutdio code but in replit its giving ffmpeg error ?

add ffmpeg via Nix: in Shell:

sed -i 's/];/  pkgs.ffmpeg\n  &/' replit.nix
2 Likes