The shooting occurred in the area of Van Ness Avenue and Pine Street, police said.
Police said the incident began shortly after 7 p.m. at the intersection of Pine Street and Van Ness Avenue. Two plainclothes officers approached a car, a blue four-door sedan, as part of a stolen vehicle investigation.
Authorities said when the officers identified themselves, the suspect behind the wheel -- a white female in her late 20s or early 30s -- aimed the car at them and then sped away turning westbound on Pine. The officers began chasing her on foot.
Those officers said about three quarters of a block up Pine, the driver executed a three-point turn and came the wrong way down the one-way street.
Officers said the driver weaved on and off the sidewalk several times, forcing a motorcycle rider to jump off his cycle to avoid being hit.
Investigators said the woman then aimed the car at them again and hit the gas. Deputy Chief Hector Sainez said that was when the two officers opened fire.
"Being this close to Van Ness, obviously the vehicle already made it on the sidewalk, and off the sidewalk several times, drove at them, they felt that they needed to use the force that they did," said Sainez.
Sainez said the officers felt the woman posed an immediate danger. "Officers are authorized to discharge their firearms if they are in fear for their safety or the safety of another individual."
Officers did not release the name of the woman involved and said that, despite the chaos, no one else was injured.