Upvote:1
A tourist visa is obviously the only option if you're going as a tourist for more than 90 days in a 180-day period (for less than that, you do not need any visa).
You get it from a Peruvian consulate in Spain. The link is to the one in Madrid, with a list of the required documents.
Has the consulate explicitly said that they aren't issuing tourist visas valid for more than 90 days?