I was installing scikit-learn python module using pip, due to some reasons the installations was not completed, I tried to reinstall the package, but then it shows this error:
pip can't proceed with requirement 'scikit-learn' due to a pre-existing build directory. location: /tmp/pip_build_root/scikit-learn This is likely due to a previous installation that failed. pip is being responsible and not assuming it can delete this. Please delete it and try again. Storing debug log for failure in /home/yash/.pip/pip.log
There's no module created for scikit-learn in my python dist-packages folder, so that I can delete and re-install.