When you created user frappe, did you give it sudoers permission?
You might be better off doing a manual install using this