libavcodec-ffmpeg.so.56 cannot open shared object file

1. 问题现象

ImportError: libavcodec-ffmpeg.so.56: cannot open shared object file: No such file or directory

2. 解决方法

sudo apt-get install libavcodec-dev
sudo apt-get install libavformat-dev
sudo apt-get install libswscale-dev

你可能感兴趣的:(Ubuntu,libavcodec,ffmpeg)