I tried all possible ways and checked everywhere. Couldnot find ideal solution for the mentioned problem. Uninstall sklearn, scikit-learn install sklearn 0.23 upgrade sklearn bu