In a 50mL double-necked vial, 3,3'-dibromo-2,2'-bithiophene (2.5g, 7.71mmol), sodium tert-butoxide (1.85g, 19.29mmol) were dissolved in 15mL toluene, and after deoxygenation by nitrogen bubbling for 10 minutes, tris(dibenzylideneacetone)dipalladium (211.94mg, 0.231 mmol) and 1,1'-binaphthyl-2,2'-bisdiphenylphosphine (480.40 mg, 0.771 mmol) under nitrogen protection, and then slowly added n-octylamine (997.13 mg, 7.71 mmol) dropwise to the mixture, and the reaction was heated up to 110 overnight. -D) pyrrole (1.8 g, 80%).