For Python 3.12.1, the numpy should be 1.26.4 pip installl numpy==1.26.4 And you can then install gensim with commend pip install gensim
pip installl numpy==1.26.4
pip install gensim