From San Pietro you have to take Borgo di Santo Spirito and arrive at Via di Porta Cavalleggeri. After crossing the road you will find yourself in front of the Sant'Onofrio climb from which you will arrive at the Gianicolo walk. You will find the Lighthouse by going up on the left.
Parts of this description were translated automatically.