我在装好了numpy和matplotlib之后,准备愉快的装完scikit_learn然后开始和机器学习算法愉快的玩耍。
然而。。。QAQ。。。无论版本怎么对应,就是无法用pip命令下载这个姗姗来迟的scikit_learn。我甚至怀疑python3.6是不是没有这个第三方库。(因为我以前使用的2.7)
此刻,我内心感到万般无奈但仔细阅读官网后,发现这么一句话:
If you already have a working installation of numpy and scipy, the easiest way to install scikit-learn is using pip
pip install -U scikit-learn
敲黑板!划重点!“numpy and scipy ”,“numpy and scipy ”,“numpy and scipy ”,重要的事情说三遍。
PS:
没听懂英文的很紧张的同学请看下面的中文翻译:
如果你已经安装了numpy 和scipy,最简单的方法就是用下面pip命令: