anaconda/spyder scikit learn update 0.21.3 to 0.22.2

Mehmet Başaran

anaconda/spyder scikit learn update 0.21.3 to 0.22.2

(base) mm@mm:~$ python --version
Python 3.7.4
(base) mm@mm:~$ anaconda --version
anaconda Command line client (version 1.7.2)

My scikit-learn version is 0.21.3 but I can't update to 0.22.2 I have tried multpile ways to update but I think this version is not included in my channels. I am using the default channels

How can I update sckit-learn using conda or any other possible way

my history (commands I have tried):

 1509  conda update conda
 1510  spyder 
 1511  conda list
 1512  conda update scikit-learn
 1513  anaconda
 1514  navigator-updater 
 1515  conda list scikit-learn
 1516  conda install scikit-learn=0.22.2
 1517  conda install scikit-learn=0.22
 1518  conda install scikit-learn==0.22.2
 1519  conda install -c intel scikit-learn
 1520  spyder 
 1521  history 

And the error I get when trying to conda install:

(base) mm@mm:~$ conda install scikit-learn=0.22.2
Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.

PackagesNotFoundError: The following packages are not available from current channels:

  - scikit-learn=0.22.2

Current channels:

  - https://repo.anaconda.com/pkgs/main/linux-64
  - https://repo.anaconda.com/pkgs/main/noarch
  - https://repo.anaconda.com/pkgs/r/linux-64
  - https://repo.anaconda.com/pkgs/r/noarch
FlyingTeller

Not every package and not always the most recent versions of packages are available from the default channels when using conda install.

There are two ways you can check what is available from your configured channels:

conda search scikit-learn gives you a list of all packages that match the name scikit-learn and the available versions. On linux x64, this gives me this:

# Name                       Version           Build  Channel
<shortened to last few lines of list>
scikit-learn                  0.22.1  py36h22eb022_0  pkgs/main
scikit-learn                  0.22.1  py36hd81dba3_0  pkgs/main
scikit-learn                  0.22.1  py37h22eb022_0  pkgs/main
scikit-learn                  0.22.1  py37hd81dba3_0  pkgs/main
scikit-learn                  0.22.1  py38h22eb022_0  pkgs/main
scikit-learn                  0.22.1  py38hd81dba3_0  pkgs/main

So only 0.22.1 is available from the default channels. You can also check using anaconda.org where you can use the saerch function to get this: enter image description here

Note the small gray numbers that indicate that anaconda / scikit-learn (the mirror of the default channel) only has version 0.22.1, in accordance with conda search output.

Note also that conda-forge / scikit-learn has your desired version, so you can use this command to install:

conda install -c conda-forge scikit-learn=0.22.2

この記事はインターネットから収集されたものであり、転載の際にはソースを示してください。

侵害の場合は、連絡してください[email protected]

編集
0

コメントを追加

0

関連記事

分類Dev

「KeyError:0」、xgboost、scikit-learn、pandas

分類Dev

Scikit-learn SVC always giving accuracy 0 on random data cross validation

分類Dev

「広く」カウントアップ:0,1,2、..、9,10,11、..、99ではなく00、01、10、11、02、12、20、21、22、03、..、 99

分類Dev

出力は[[0,0,0,0、]、[0,1,0,0]、[0,2,0,0]、[0,3,0,0]]のようになると思います。

分類Dev

Python scikit-learn SVM Classifier "ValueError: Found array with dim 3. Expected <= 2"

分類Dev

Python scikit-learn SVM Classifier "ValueError:Found array with dim 3. Expected <= 2"

分類Dev

Juliaでカスタムスケール[0π/2π3π/22π]を使用してプロット

分類Dev

Juliaでカスタムスケール[0π/2π3π/22π]を使用してプロット

分類Dev

conda update scikit-learn (also scipy and numpy)

分類Dev

conda update scikit-learn(scipyとnumpyも)

分類Dev

シーケンス0、0、0、0、0、1、1、1、1、1、2、2、2、2、2、3、3、3、3、3、4、4、4、4を作成します。 、4 with seq()

分類Dev

Scikit-learn:X0の係数と切片が混同されています

分類Dev

sklearn.neural_networkバージョン0.18.dev0をscikit-learn0.17と同時に使用する

分類Dev

How to run 2 pipelines in parallel in scikit-learn or Neuraxle?

分類Dev

このコードの意味([1、2、3] || 0)[0]

分類Dev

python3:〜2 = -0b11?

分類Dev

[0,1,2,3,4]と[[0]、[1]、[2]、[3]、[4]]の違いは何ですか?

分類Dev

scikit learn documentation in PDF

分類Dev

<0xC3><0xAC><0xAC><0xAC>onic 2 - ページを動的に設定する方法

分類Dev

ValueError: shapes (3,2) and (3,) not aligned: 2 (dim 1) != 3 (dim 0)

分類Dev

Vector3 se restablece a 0,0,0 Unity

分類Dev

set matrix zreos:free():invalid next size(fast):0x00000000029c21d0

分類Dev

0 <2 = ...誤り?

分類Dev

Django - Dictionary update sequence element #0 has length 1; 2 is required

分類Dev

Tuple (key, value) to dictionary ValueError: dictionary update sequence element #0 has length 6; 2 is required

分類Dev

Clean algorithm to generate all sets of the kind (0) to (0,1,2,3,4,5,6,7,8,9)

分類Dev

Swift 3 - [__NSArrayM objectAtIndex:]: 索引 3 超出范围 [0 .. 2]

分類Dev

Scikit-Learn Standard Scaler

分類Dev

repeated FeatureUnion in scikit-learn

Related 関連記事

  1. 1

    「KeyError:0」、xgboost、scikit-learn、pandas

  2. 2

    Scikit-learn SVC always giving accuracy 0 on random data cross validation

  3. 3

    「広く」カウントアップ:0,1,2、..、9,10,11、..、99ではなく00、01、10、11、02、12、20、21、22、03、..、 99

  4. 4

    出力は[[0,0,0,0、]、[0,1,0,0]、[0,2,0,0]、[0,3,0,0]]のようになると思います。

  5. 5

    Python scikit-learn SVM Classifier "ValueError: Found array with dim 3. Expected <= 2"

  6. 6

    Python scikit-learn SVM Classifier "ValueError:Found array with dim 3. Expected <= 2"

  7. 7

    Juliaでカスタムスケール[0π/2π3π/22π]を使用してプロット

  8. 8

    Juliaでカスタムスケール[0π/2π3π/22π]を使用してプロット

  9. 9

    conda update scikit-learn (also scipy and numpy)

  10. 10

    conda update scikit-learn(scipyとnumpyも)

  11. 11

    シーケンス0、0、0、0、0、1、1、1、1、1、2、2、2、2、2、3、3、3、3、3、4、4、4、4を作成します。 、4 with seq()

  12. 12

    Scikit-learn:X0の係数と切片が混同されています

  13. 13

    sklearn.neural_networkバージョン0.18.dev0をscikit-learn0.17と同時に使用する

  14. 14

    How to run 2 pipelines in parallel in scikit-learn or Neuraxle?

  15. 15

    このコードの意味([1、2、3] || 0)[0]

  16. 16

    python3:〜2 = -0b11?

  17. 17

    [0,1,2,3,4]と[[0]、[1]、[2]、[3]、[4]]の違いは何ですか?

  18. 18

    scikit learn documentation in PDF

  19. 19

    <0xC3><0xAC><0xAC><0xAC>onic 2 - ページを動的に設定する方法

  20. 20

    ValueError: shapes (3,2) and (3,) not aligned: 2 (dim 1) != 3 (dim 0)

  21. 21

    Vector3 se restablece a 0,0,0 Unity

  22. 22

    set matrix zreos:free():invalid next size(fast):0x00000000029c21d0

  23. 23

    0 <2 = ...誤り?

  24. 24

    Django - Dictionary update sequence element #0 has length 1; 2 is required

  25. 25

    Tuple (key, value) to dictionary ValueError: dictionary update sequence element #0 has length 6; 2 is required

  26. 26

    Clean algorithm to generate all sets of the kind (0) to (0,1,2,3,4,5,6,7,8,9)

  27. 27

    Swift 3 - [__NSArrayM objectAtIndex:]: 索引 3 超出范围 [0 .. 2]

  28. 28

    Scikit-Learn Standard Scaler

  29. 29

    repeated FeatureUnion in scikit-learn

ホットタグ

アーカイブ