Agree with Aggy, raspberries can get so heavy that they'll take down a teepee quite easily. With the posts, you even need to secure it well with wire at the ends so that the posts don't start leaning towards the raspberry patch.
If you're talking only a few plants, then you can do the cane idea, but more than a dozen needs strength.