We copy the math_quiz directory and all its contents from a source install of web2py, where it works, to the application directory of a user created by the debian package, where it gives the error above.
Three of us have confirmed this on three separate installations. We are pretty confident it is an error with the way the package works.