I am trying to run the debug demo (below) but end up getting a segmentation fault. I am using the docker image pyadjoint:2019.1.0 . I suspect the problem might be with tensorflow. Is there a correct way of installing tensorflow in the container? I did sudo pip install tensorflow, which might be a problem - I usually use anaconda and I’m not very familiar with docker. Tensorflow disappears upon exiting the docker session.

```
from dolfin import *
from dolfin_adjoint import *
n = 30
mesh = UnitSquareMesh(n, n)
V = VectorFunctionSpace(mesh, "CG", 2)
u = project(Expression(("sin(2*pi*x[0])", "cos(2*pi*x[1])"), degree=2), V)
u_next = Function(V, name="u_next")
v = TestFunction(V)
nu = Constant(0.0001, name="nu")
timestep = Constant(0.01, name="dt")
F = (inner((u_next - u)/timestep, v)
+ inner(grad(u_next)*u_next, v)
+ nu*inner(grad(u_next), grad(v)))*dx
bc = DirichletBC(V, (0.0, 0.0), "on_boundary")
tape = get_working_tape()
t = 0.0
end = 0.05
while (t <= end):
with tape.name_scope("Timestep"):
solve(F == 0, u_next, bc)
u.assign(u_next)
t += float(timestep)
tape.visualise()
```