Tested on Python 3.5.2(On Raspberry Pi/Ubuntu Mate Xenial) and 3.6.7(On my machine/Ubuntu 18.10) Use piwheels for installing packages on the Raspberri Pi!!! (https://www.piwheels.org/) Use pip and virtual environments (https://packaging.python.org/guides/installing-using-pip-and-virtualenv/)
Install ffmpeg