Was there truly no other way?
Did Eve make a mistake by eating the forbidden fruit? Was there any other way?
With the latter question, members of The Church of Jesus Christ of Latter-day Saints might wonder if the answer to that question is a reliable "No" or not because of the reenactment of the Creation during the temple endowment ceremony. Largely because the one saying there was "no other way" is Satan, and he's not exactly intended to be a reliable character in that story.
The first place I'll point to for an answer is another line from the Creation reenactment. Before Adam and Eve had ever fallen, God says "If they yield to temptation, we will provide a Savior for them." This line represents the Plan of Salvation as it was always intended to play out.
The only way for Adam and Eve to make a valid choice would be to let them break a law, then providing an escape from the consequences. We, as the human race, were always meant to fall and need a Savior, whose role was always meant to be filled by Jesus Christ. This was the plan from the very beginning.
Does this mean God set them up to fail?
In order to understand the answer to that, it's important to understand what God was trying to save humanity from. Was it Satan? Or was it the demands of the law that govern moral agency and consequences of sin?
To answer that, it is valuable to review 2 Ne 2:22-24 and Moses 5:11 and consider that the "never" here is literal. Adam and Eve were never, ever leaving the Garden of Eden until one of them broke the law. And if you don't believe me, Bruce R McConkie echoes that same sentiment in his talk The Pillars of Eternity. He says Adam would still be in Eden today if not for their transgression.
And unlike some of the other things Bruce R. McConkie said without any sort of scriptural foundation, this one isn't one of those.