I guess this means that python version in not switched to 2.7. It still is in 3.9.12, Isn't it?
But how can I set python2.7 as my default python version?
Or, if I'm still missing the point of error what should I do to use this feature classifier? Please help...
Thanks for sharing those details! Here's what I suspect is going on - you had scikit-learn installed at a version of 0.21.2 when you ran q2-fondue to generate your rep_seq.qza file. Now you're attempting to run feature-classifier within your new QIIME 2 environment, which uses a newer version of scikit-learn (0.24.1). The short answer here is you'll need to re-run your q2-fondue command in your current environment to make sure you are using the same version of scikit learn for both commands.
@lizgehret you mean I need to run the fondue command to recreate rep_seq.qza file?
I tried this but it doesn't work. Can you please be a little bit specific? like which code shoul I run or which command should I run in terminal?
Yes, you'll need to re-run the command you ran in q2-fondue to create the rep_seq.qza file in this new conda environment. I don't know what command you ran in q2-fondue to create that file, so I can't advise on that - but it should just be the same thing that you already ran the first time you created that artifact.
If this doesn't work, please include details with your exact command along with the error message you are receiving, otherwise it's hard to say where things are going sideways.
Please be patient with us. Remember that this forum is a free service and we are all helping as best as we can.
It looks like there is still a version difference between the sklearn version installed, and what was used to make that silva classifier. Try downloading a matching silva classifier from here: Data resources — QIIME 2 2022.11.1 documentation