Altitude can be an issue. Cuzco is a good nearby town to spend the night acclimatingg before taking on an ambitious hike in Machu Picchu.