Demo code not working using my installation of FEniCS

Hi,

Your post is difficult to read because you have not formatted the code correctly - please do that (Read before posting: How do I get my question answered?).

Also, I do not see an error message, only a RuntimeWarning.

Note that installing NumPy via pip will most likely not work if you are using the FEniCS Ubuntu packages, because these packages are already linked to a specific version of NumPy.