Update: The instructions of this post are for Python 2.7. If you are using Python 3, the process is simplified. The instructions are here:
Starting with a Python 3.6 environment.
Assumptions (What I expect to already be installed):
- Python 3.6 installed
- Pip installed (If it is not already installed, download and install pip: https://pip.pypa.io/en/stable/installing/)
- Install numpy:
pip install numpy
- Install scipy:
pip install scipy
- Install sklearn:
pip install sklearn
Test installation by opening a python interpreter and importing sklearn:
If it successfully imports (no errors), then sklearn is installed correctly.