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
本文详细介绍了在OS 10.8.5系统下使用MacPorts安装scikit-learn的方法失败后,通过下载包并使用命令行安装成功的过程。文中还强调了在安装scikit-learn前需先安装Numpy、Scipy和matplotlib的重要性。

4万+

被折叠的 条评论
为什么被折叠?



