I want to downgrade shap to version 0.34.0 from 0.39.0
!pip uninstall shap
Unable to even downgrade with the below given syntax:

I want to downgrade shap to version 0.34.0 from 0.39.0
!pip uninstall shap
Unable to even downgrade with the below given syntax:

First you need to uninstall the version you have
pip uninstall shap
And then you can use
pip install shap==0.39.0