The version installed via pip caused this error on ubuntu 20.04 but the error does not occur when the repo is installed via git. 