Help a starter!

As @volkerk says, please post a Minimal working example and the full error message.
However, I think your boundary condition should be:

bc = DirichletBC(V.sub(1), Constant(0), clamped_boundary)

Is this enforces a zero deformation condition only in the y-direction (sub-space 1).