Please note that FEniCS v2019.1.0 is considered legacy, see: The new DOLFINx solver is now recommended over DOLFIN
However, if you want to use the FEniCS tutorial (which was built on FEniCS 2016.1.0), you should have a look at the files in this PR: Fix almost every outdated tutorial by JSS95 · Pull Request #74 · hplgit/fenics-tutorial · GitHub
An updated version of the FEniCS tutorial for DOLFINx can be found at: The FEniCSx tutorial — FEniCSx tutorial