# scikit-learn version error?

**URL:** https://forum.qiime2.org/t/scikit-learn-version-error/20063
**Category:** User Support
**Tags:** feature-classifier
**Created:** [July 1, 2021, 9:24am UTC](https://forum.qiime2.org/t/scikit-learn-version-error/20063 "2021-07-01T09:24:09Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![SoilRotifer](https://forum.qiime2.org/user_avatar/forum.qiime2.org/soilrotifer/32/21071_2.png) [@SoilRotifer](https://forum.qiime2.org/u/SoilRotifer)
#### Post date: [July 1, 2021, 2:16pm UTC](https://forum.qiime2.org/t/scikit-learn-version-error/20063/2 "2021-07-01T14:16:59Z")

</div>

Hi @qqqqa, welcome to :qiime2:!

If you [search the forum](https://forum.qiime2.org/search?q=scikit%20learn%20version) you'll find that this has been addressed on several occasions. Please see the following threads to start:

> [@scikit-learn version warning](https://forum.qiime2.org/t/scikit-learn-version-warning/15206/3):
>
> Hi @Irshad! The scikit-learn version (0.21.2) used to generate this artifact does not match the current version of scikit-learn installed (0.20.2). Scikit-learn requires you to use a classifier that was trained with the same version as scikit-learn that you're using to run your command. This protects your analysis from unexpected behavior. If you are using a pre-trained classifier from the [QIIME 2 docs](https://docs.qiime2.org/2020.2/data-resources/), make sure that the version of QIIME 2 you're using is the same as the version of the docs…

> [@scikit-learn version error](https://forum.qiime2.org/t/scikit-learn-version-error/9484):
>
> Hi, I try to use silva classifier as provided in the “[Taxonomy classifiers for use with q2-feature-classifier](https://docs.qiime2.org/2018.2/data-resources/)” tutorial. when i run the command: qiime feature-classifier classify-sklearn --i-classifier silva-119-99-515-806-nb-classifier.qza --i-reads rep-seqs.qza --o-classification taxonomy-silva.qza I get this error: Plugin error from feature-classifier: The scikit-learn version (0.19.1) used to generate this artifact does not match the current version of scikit-learn installed (0.20.2). P…

> [@Silva classifier scikit learn version issue](https://forum.qiime2.org/t/silva-classifier-scikit-learn-version-issue/14404):
>
> I am having an issue using Silva to classify my reads. I used the following command qiime feature-classifier classify-sklearn --i-classifier silva-132-99-515-806-nb-classifier.qza --i-reads allreps\_rep-seq.qza --o-classification allrepstaxonomy.qza And I received this error The scikit-learn version (0.21.2) used to generate this artifact does not match the current version of scikit-learn installed (0.22.1). I'm guessing I need a newer version of Silva but I can't find it on their archive, an…

-Mike

---

_[View the full topic](https://forum.qiime2.org/t/scikit-learn-version-error/20063)._
