I was initially advised until my doctor cleared me at 6 weeks, but the doctor said that I could drive as soon as I felt well enough again as long as I could withstand an emergency stop without feeling pain/discomfort. I'm still yet to drive now at 7 weeks pp, but I've been pain/discomfort free since 6 weeks.
If you feel sore in the slightest form from sharp motions then you're definitely not ready to drive yet. Also bare in mind that you could end up in regression around 5 weeks if you push yourself too early.