Sûreté du Québec police officers entered the home and went into the attic, where they found a man armed with a knife, the bureau said in a news release.
The man ran at police and he was shot, the bureau said. He later succumbed to his injuries and died, police said.
Two witnesses told Radio-Canada they heard what sounded like gun shots.
The bureau has assigned nine investigators to the scene and will call upon the Montreal police should they need additional support.