Officials in the French city of Marseille say a knife-wielding man has been shot dead after he allegedly attacked several people on a major street.

French media report at least two pedestrians were injured in the knife attack that took place late on Tuesday afternoon, but none of their lives were considered to be in danger.

France Knife Attack
An investigating police officer looks at a gun after the incident in Marseille (Claude Paris/AP)

An official with the regional administration said there was no reason yet to think the attack was terror-related, but information was sketchy.

The official could not confirm the identity of the attacker or the nature of the attack.