官术网_书友最值得收藏!

The Anaconda method

In the event that you have installed Python using the Anaconda distribution, you can install scikit-learn by using the following code in the Anaconda prompt:

The first step is to install the dependencies:

conda install NumPy
conda install SciPy

Next, we can install scikit-learn by using the following code:

conda install scikit-learn

Additionally, if you already have scikit-learn installed with the Anaconda distribution, you can upgrade it to the latest version by using the following code in the Anaconda prompt:

conda update scikit-learn
When upgrading or uninstalling scikit-learn that has been installed with Anaconda, avoid using the pip method at all costs as doing so is most likely going to fail upgrading or removing all the required files. Stick with either the pip method or the Anaconda method in order to maintain consistency. 
主站蜘蛛池模板: 鄂州市| 鲁甸县| 乌兰县| 武威市| 玉树县| 什邡市| 普兰店市| 阿合奇县| 南安市| 泽普县| 苍山县| 万全县| 宾阳县| 黑河市| 库伦旗| 临澧县| 乐亭县| 奉化市| 五华县| 冕宁县| 长白| 西盟| 荃湾区| 财经| 宕昌县| 英吉沙县| 阿克陶县| 格尔木市| 油尖旺区| 沂南县| 石楼县| 克什克腾旗| 饶河县| 金塔县| 马龙县| 辰溪县| 本溪| 东兰县| 固阳县| 新津县| 桂东县|