Deslandres' undergraduate years at the École Polytechnique were played out against the aftermath of the Franco-Prussian War and the chaos of the Paris Commune so, on graduation in 1874, he responded to the continuing military tension with the emerging Germany by embarking on a military career.