The public were asked to avoid the area while the police operation was underway. The London Ambulance Service said it had "a number of resources" at the scene.
A witness to the attack told Britain's Press Association that the man was carrying a machete and had "silver canisters on his chest."
London has repeatedly been the target of terrorist attacks in recent years.
Last November, a knife attack near London Bridge left two people dead before the assailant was shot and killed by armed police. The attack was claimed by Daesh terrorist group.
In August 2018, a 29-year-old man swerved his car into cyclists, pedestrians and police officers in front of the Houses of Parliament in London, injuring several people. The British man of Sudanese origin was sentenced to at least 15 years in prison for terrorism, among other charges.