I have a program for digit recognition and I already installed the NumPy and OpenCv libraries. However, I also need to install the sklearn library. Please help me figure out how to install it on my system.
This question is related to
python
You didn't provide us which operating system are you on? If it is a Linux, make sure you have scipy installed as well, after that just do
pip install -U scikit-learn
If you are on windows you might want to check out these pages.
I would recommend you look at getting the anaconda package, it will install and configure Sklearn and its dependencies.
pip install numpy scipy scikit-learn
if you don't have pip, install it using
python get-pip.py
Download get-pip.py from the following link. or use curl to download it.
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
Source: Stackoverflow.com