[英]Update of scikit-learn fails with Anaconda
I'm using Anaconda. 我正在使用Anaconda。 When I do
conda list
it shows me that currently scikit-learn 0.19.1 is installed. 当我执行
conda list
它显示出当前已安装scikit-learn 0.19.1。 I would like to upgrade to 0.19.2, so I'm doing 我想升级到0.19.2,所以我在做
conda config --append channels conda-forge
conda install scikit-learn=0.19.2
But then I'm getting the following error: 但是然后我得到以下错误:
PackagesNotFoundError: The following packages are not available from current cha
nnels:
- scikit-learn=0.19.2
Current channels:
- https://repo.anaconda.com/pkgs/main/win-64
- https://repo.anaconda.com/pkgs/main/noarch
- https://repo.anaconda.com/pkgs/free/win-64
- https://repo.anaconda.com/pkgs/free/noarch
- https://repo.anaconda.com/pkgs/r/win-64
- https://repo.anaconda.com/pkgs/r/noarch
- https://repo.anaconda.com/pkgs/pro/win-64
- https://repo.anaconda.com/pkgs/pro/noarch
- https://repo.anaconda.com/pkgs/msys2/win-64
- https://repo.anaconda.com/pkgs/msys2/noarch
- https://conda.anaconda.org/conda-forge/win-64
- https://conda.anaconda.org/conda-forge/noarch
How can I install scikit-learn 0.19.2? 如何安装scikit-learn 0.19.2?
scikit-learn==0.19.2
You're missing a second =
sign, so it's not finding the package scikit-learn==0.19.2
您缺少第二个=
符号,因此找不到包
$ pip install scikit-learn=0.19.1
Invalid requirement: 'scikit-learn=0.19.1'
= is not a valid operator. Did you mean == ?
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.