Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Hey there,
That error means ffprobe isn’t installed on your DigitalOcean server.
It works locally because your Mac has it by default, but for Droplets, you’ll need to install it manually.
Just SSH into your Droplet and run:
sudo apt update && sudo apt install ffmpeg -y
That’ll install both ffmpeg and ffprobe, and your pydub audio processing should work just like it does locally.
Let me know if you’re still getting errors after that!
- Bobby
Heya,
The error you’re seeing on your DigitalOcean server:
Unexpected error: [Errno 2] No such file or directory: 'ffprobe'
means that the pydub library is trying to use ffprobe to process audio files, but ffprobe (a tool that comes with ffmpeg) is not installed on your DigitalOcean server.
Run the following commands on your droplet:
sudo apt update
sudo apt install ffmpeg -y
This will install both ffmpeg and ffprobe, and pydub will then be able to use them.
Heya, @c19cee53301743a5b5a88333eb1e2e
ffprobe is not installed on your DigitalOcean droplet. You can install it with apt :
sudo apt update && sudo apt install ffmpeg -y
You can also avoid system-level dependencies entirely by switching to pure Python audio processing libraries if your use case isn’t too complex.
For example, libraries like wave, soundfile (via pysoundfile), or audioread can handle many audio format conversions without requiring ffmpeg or ffprobe.
Regards