There are two ways in which you can install scikit-learn on your personal device:
- By using the pip method
- By using the Anaconda method
The pip method can be implemented on the macOS/Linux Terminal or the Windows PowerShell, while the Anaconda method will work with the Anaconda prompt.
Choosing between these two methods of installation is pretty straightforward:
- If you would like all the common Python package distributions for data science to be installed in one environment, the Anaconda method works best
- If you would like to build you own environment from scratch for scikit-learn, the pip method works best (for advanced users of Python)