Python scikit学习更新失败,Anaconda
我用的是蟒蛇。当我执行Python scikit学习更新失败,Anaconda,python,scikit-learn,anaconda,Python,Scikit Learn,Anaconda,我用的是蟒蛇。当我执行conda list时,它显示当前已安装scikit learn 0.19.1。我想升级到0.19.2,所以我正在做 conda config --append channels conda-forge conda install scikit-learn=0.19.2 但是我得到了以下错误: PackagesNotFoundError: The following packages are not available from current cha nnels:
conda list
时,它显示当前已安装scikit learn 0.19.1。我想升级到0.19.2,所以我正在做
conda config --append channels conda-forge
conda install scikit-learn=0.19.2
但是我得到了以下错误:
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
如何安装scikit learn 0.19.2?
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 == ?
仅适用于linux和mac用户。我猜你在用Windows。是的,我在用Windows。我现在已经尝试了pip安装-U scikit学习,它安装了0.19.2。所以,当我做conda列表时,我现在看到了0.19.2和0.19.1,但pyCharm不知何故没有识别它。当我进入pyCharm设置时,会列出0.19.1。与==相同的错误,但我认为问题是它不适用于windows。