Enviroment:
system platform : OS 10.8.5
Python:2.7
The first method I‘ve tried : failed
using MacPorts : " It can be installed by typing the following command: sudo port
install py-scikit-learn" from[1]
but I could not import the packet in python
The second method : succeed
1 download packet https://pypi.python.org/pypi/scikit-learn/
2 using command terminal to the download folder and type : python setup.py install
hint: before install scikit-learn you should have installed Numpy
, Scipy ,matplotlib
at first
[1] http://scikit-learn.org/stable/install.html
how to install scikit-learn,布布扣,bubuko.com
原文:http://blog.csdn.net/ict_100/article/details/20133169