# TaxonomicClassifier

**URL:** <https://forum.qiime2.org/t/taxonomicclassifier/15268>\
**Category:** User Support\
**Tags:** feature-classifier, taxonomy\
**Created:** [June 6, 2020, 6:15pm UTC](https://forum.qiime2.org/t/taxonomicclassifier/15268 "2020-06-06T18:15:19Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Chozinentropy](https://forum.qiime2.org/user_avatar/forum.qiime2.org/chozinentropy/32/5447_2.png) [@Chozinentropy](https://forum.qiime2.org/u/Chozinentropy)\
**Post date:** [June 6, 2020, 6:15pm UTC](https://forum.qiime2.org/t/taxonomicclassifier/15268/1 "2020-06-06T18:15:19Z")

</div>

I'm running into error "Missing one or more files for TaxonomicClassiferTemporaryPickleDirFmt: 'sklearn\_version.json'"

I ran  
conda install --override-channels -c defaults scikit-learn=0.22.1  
qiime tools import --type TaxonomicClassifier --input-path gg\_13\_8\_otus --output-path gg\_13\_8\_otus.qza

the classifier downloaded is greengenes 13\_8.

Thank you,  
Cam

---

<div class="post-metadata">

**Author:** ![thermokarst](https://forum.qiime2.org/letter_avatar_proxy/v4/letter/t/8e7dd6/32.png) [@thermokarst](https://forum.qiime2.org/u/thermokarst)\
**Post date:** [June 8, 2020, 2:37pm UTC](https://forum.qiime2.org/t/taxonomicclassifier/15268/2 "2020-06-08T14:37:27Z")

</div>

Assigned @thermokarst on June 8, 2020, 2:37pm UTC



---

<div class="post-metadata">

**Author:** ![thermokarst](https://forum.qiime2.org/letter_avatar_proxy/v4/letter/t/8e7dd6/32.png) [@thermokarst](https://forum.qiime2.org/u/thermokarst)\
**Post date:** [June 8, 2020, 11:38pm UTC](https://forum.qiime2.org/t/taxonomicclassifier/15268/3 "2020-06-08T23:38:29Z")

</div>

Hi @Chozinentropy - we are missing some information necessary in order to help you:

- what version of QIIME 2 are you running

Also, I have some questions:

> [@Chozinentropy](#):
>
> conda install --override-channels -c defaults scikit-learn=0.22.1

This step is not necessary, and has now mutated your conda env. Before we can help you, please reinstall QIIME 2 in a clean env (which uses the package versions that we have validated and verified can work together).

> [@Chozinentropy](#):
>
> qiime tools import --type TaxonomicClassifier --input-path gg\_13\_8\_otus --output-path gg\_13\_8\_otus.qza

You are attempting to import many different formats (and types) of data into an incorrect semantic type. `TaxonomicClassifiers` are _created_, not imported:

[https://docs.qiime2.org/2020.2/tutorials/feature-classifier/](https://docs.qiime2.org/2020.2/tutorials/feature-classifier/)

Please take some time to review the QIIME 2 User Docs at [https://docs.qiime2.org](https://docs.qiime2.org).

---

<div class="post-metadata">

**Author:** ![thermokarst](https://forum.qiime2.org/letter_avatar_proxy/v4/letter/t/8e7dd6/32.png) [@thermokarst](https://forum.qiime2.org/u/thermokarst)\
**Post date:** [June 8, 2020, 11:38pm UTC](https://forum.qiime2.org/t/taxonomicclassifier/15268/4 "2020-06-08T23:38:31Z")

</div>

Unassigned @thermokarst on June 8, 2020, 11:38pm UTC



---

<div class="post-metadata">

**Author:** ![Chozinentropy](https://forum.qiime2.org/user_avatar/forum.qiime2.org/chozinentropy/32/5447_2.png) [@Chozinentropy](https://forum.qiime2.org/u/Chozinentropy)\
**Post date:** [June 9, 2020, 6:39pm UTC](https://forum.qiime2.org/t/taxonomicclassifier/15268/5 "2020-06-09T18:39:36Z")

</div>

ok, I've reinstalled the env ran everything to Taxonomic Analysis. Using the downloaded gg-13-8-99-515-806 I getting error  
Plugin error from feature-classifier:

The scikit-learn version (0.20.2) used to generate this artifact does not match the current version of scikit-learn installed (0.22.1). Please retrain your classifier for your current deployment to prevent data-corruption errors.

Debug info has been saved to /tmp/qiime2-q2cli-err-kuclwrh\_.log

I'm not sure how to handle this without changing sklearn install.

---

<div class="post-metadata">

**Author:** ![thermokarst](https://forum.qiime2.org/letter_avatar_proxy/v4/letter/t/8e7dd6/32.png) [@thermokarst](https://forum.qiime2.org/u/thermokarst)\
**Post date:** [June 9, 2020, 7:47pm UTC](https://forum.qiime2.org/t/taxonomicclassifier/15268/6 "2020-06-09T19:47:51Z")

</div>

> [@Chozinentropy](#):
>
> I’m not sure how to handle this without changing sklearn install.

You need to download the version of the classifier that matches the version of QIIME 2 you are using. You haven't yet answered my question about what version of QIIME 2 you are using, but, I will assume 2020.2, since that version uses sklean 0.22.1. In that case, download the version listed here:

[https://docs.qiime2.org/2020.2/data-resources/#taxonomy-classifiers-for-use-with-q2-feature-classifier](https://docs.qiime2.org/2020.2/data-resources/#taxonomy-classifiers-for-use-with-q2-feature-classifier)

Again, I strongly encourage you to spend some time reviewing the QIIME 2 User Docs at [https://docs.qiime2.org](https://docs.qiime2.org)

:qiime2:

---

<div class="post-metadata">

**Author:** ![system](https://forum-qiime2-org.s3.dualstack.us-west-2.amazonaws.com/original/3X/2/1/21af5fe23cb6f4579467c66a9ed94e55274ca7bd.svg) [@system](https://forum.qiime2.org/u/system)\
**Post date:** [July 11, 2020, 1:47am UTC](https://forum.qiime2.org/t/taxonomicclassifier/15268/7 "2020-07-11T01:47:55Z")

</div>

Closed on July 11, 2020, 1:47am UTC

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.
