Only run synthpops example if synthpops is available
@@ -31,6 +31,7 @@ sim.run()
fig = sim.plot()
# Run sim using synthpops with community transmission
+if cv.requirements.available['synthpops']:
pars = cv.make_pars()
pars['population'] = cv.Population.synthpops(pars, n_people=5000, n_random_contacts=20)
sim = cv.Sim(pars=pars)
