One officer was hurt before the aggressor was shot in the chest.
"Situation under control, a policeman was wounded, the perpetrator was neutralized and sent to hospital", the Paris Police Prefecture said in a statement.
French police shot and injured a man who attacked an officer with a hammer outside Paris's Notre Dame cathedral on Tuesday, while shouting "this is for Syria".
The man, believed to be an Algerian student, attacked the officer with a hammer, but was also armed with knives, CNN quoted Collomb, as saying.
13 Jun 2016 -A knife-wielding jihadist kills a police officer and his partner at their home in Magnanville, west of Paris.
Officials have not indicated if the incident is terror-related, but French counter-terrorism police are handling the investigation, Paris police told NBC News.
About 13 million people visit Notre Dame every year, making it the most visited site in France.More news: Portugal's government criticized for fire deaths
More news: Queen Elizabeth pays homage to London fire victims in minute of silence
More news: Lawyer: Trump Tweet Was A Reaction, Not Admission To Being Investigated
Major attacks in France targeted the Charlie Hebdo satirical magazine in January 2015 and in November that year, gunmen and suicide bombers attacked sites around Paris including the Bataclan concert hall, killing 130 people.
PotVin-Gorman says she heard three gunshots before seeing the attacker, dressed in a blue jacket and blue jeans, lying on the ground about 30 meters (100 feet) outside the cathedral.
"It was really scary, we had no idea if there were any accomplices inside", she said.
"There were tons of people running in all directions, and we were brought inside at that time", she added.
A man who attacked a policeman with a hammer outside Notre Dame cathedral in Paris had pledged allegiance to the Islamic State group in a video found at his apartment, an investigation source said Wednesday.
The Interior Minister said authorities were working to verify the card's authenticity.
Police urged people to stay away from the area, writing on Twitter that an operation is under way on the square in front of the cathedral. The officer fired his gun, striking the attacker. His motives remain unclear but he seemed to be acting by himself and it didn't seem like a very well planned attack. "The police responded right away", said tourist Abigail Miller, who is from Minnesota, on MSNBC.