Closed okcoskun closed 2 months ago
Sorry, @okcoskun, never run into this issue. None of the installation steps should downgrade the Python version.
In case fastani
is doing that, you can try to install it using this line instead after generating a new conda environment from scracth:
conda install -y -c bioconda python=3.10 fastani
Or you can remove -y
from both commands, and see the list of upgrades and downgrades conda is intending to do. If you see Python there, you will also know which program requires it.
Dear @meren,
Thank you for your prompt answer! I think that the packages that anvi'o is deploying were not downgrading the python version. I have tested this by installing four packages individually. After every installation, pyhton version was showing 3.9.20, which is the version of my base conda environment.
In case, someone else encounters with the same problem, I have resolved it by upgrading the pyhton version in base conda environment. This might be risky for other users because it might create conflicts with other packages/programs. In my case, anvi'o is the only program that I am using in my conda environment, so everything should be OK.
After this, "anvi-self-test --suite mini" worked like a charm.
However, snakemake threw an error like in the case of #2290. I have also solved this by changing the pulp version in the base conda environment.
Thanks for your help!
All the best,
Ömer
Thank you so much for reporting back, @okcoskun, and I'm very glad that you were able to resolve the issue!
Best wishes,
Short description of the problem
Unable to install anvi'o-8 because of python version.
anvi'o version
anvio-8
System info
system: x86_64 GNU/Linux
Conda version
conda version: conda 24.7.1
Detailed description of the issue
I am trying to install anvio-8 using conda on our in-house server, but keep getting the following issue:
I noticed that the following finding if it helps you to figure out what is going on:
Then after running:
The python version is downgraded:
I continued installing the anvio using pip installation. Do you think that during the installation of one of these softwares, python is downgraded?
Could you please help on this issue?