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

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. 
主站蜘蛛池模板: 敦煌市| 曲水县| 鸡泽县| 浠水县| 义乌市| 丹东市| 大名县| 长寿区| 阳新县| 丰县| 徐水县| 黎平县| 惠东县| 吉林市| 社旗县| 连云港市| 正镶白旗| 中宁县| 云安县| 交口县| 邛崃市| 化隆| 正安县| 广平县| 松江区| 拉萨市| 江源县| 卫辉市| 都兰县| 百色市| 临西县| 临猗县| 镇赉县| 石台县| 衡阳县| 新密市| 汉源县| 西林县| 宣汉县| 仁化县| 长葛市|