A process for producing a photosensitive polyimide precursor which comprises reacting a tetracarboxylic acid dianhydride represented by the following formula : ##STR27## wherein R1 is as defined in formula , with a diamino compound represented by the following formula : ##STR28{HEAD ~ ##} wherein R2, R3 and {TAIL ~ R4} are as defined in formula  