Can not import name

Your error message is different: you’ve got a local installation of ffc, instead of the ubuntu package.