C[O:2][C:3](=O)[C:4]([C:10]#[N:11])=[C:5](SC)[S:6][CH3:7].[NH2:13][C:14]1[CH:18]=[CH:17][NH:16][N:15]=1>C(O)C>[OH:2][C:3]1[N:15]2[N:16]=[CH:17][CH:18]=[C:14]2[N:13]=[C:5]([S:6][CH3:7])[C:4]=1[C:10]#[N:11]3.0 g of 2-cyano-3,3-bismethylthio-2-propenoic acid methyl ester, 1.3 g of 3-aminopyrazole and 20 ml of ethanol were stirred under reflux with heating for about 2.5 hours and then cooled to room temperature, and the precipitated crystals were collected by filtration. The collected crystals were washed with ethanol and then dried to obtain 1.69 g of 7-hydroxy-5-methylthiopyrazolo[1,5-a]pyrimidine-6-carbonitrile (compound No. 49) having a melting point of over 250° C.