ValueError: got_ver is None

I was working good with Transformers and BERT models for sometime. But today I tried uninstall and reinstall numpy module to clear some warning in the Jupyter notebook. After performing this through Anaconda prompt, lot of modules missing reported. Fixed one by one but the error “ValueError: got_ver is None” is haunting me like anything when importing transformers. Mine is 4.18.0 version installed. Multiple reinstallations attempted but again issues reporting

I am losing my time to fix this. Can anybody help me in this case ?

I got the same thing after bumping numpy from 1.23.1 to 1.23.2

I am using transformers v4.21.1 and this code below is what is throwing the error and what I read before reproducing in the REPL above.