A police chief has urged young people not to carry knives, following the death of a teenager at the weekend.