 She attended public schools in Milan until the age of eight, and the family encouraged the children to study a trade following this mandatory schooling.Pastori declared her intention to study medicine, which was summarily forbidden by her mother.Pastori was tutored in mathematics, physics, and chemistry, among other subjects by her sister Maria (who would later go on to become a mathematics professor), prior to attending the University of Milan and the University of Pavia.