mac中安装pip以后,就可以通过pip方便地安装各种组件。首先得安装pip,方法很简单,如下所示:
Scikit-learn requires:
- Python (>= 2.7 or >= 3.3),
- NumPy (>= 1.8.2),
- SciPy (>= 0.13.3).
If you already have a working installation of numpy and scipy, the easiest way to install scikit-learn is using pip