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 {HEAD ~ a diamino compound} represented by the following formula : ##STR28{TAIL ~ ##} wherein R2, R3 and R4 are as defined in formula  