Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

anvio thinks the python version is different than the one installed #2214

Closed
Naturalist1986 opened this issue Feb 5, 2024 · 3 comments
Closed

Comments

@Naturalist1986
Copy link

Short description of the problem

anvio thinks the python version is different than the one installed

anvi'o version

(anvio-8) moshea@shannon:~$ anvi-self-test --version

========================================================
🦄 SOMETHING BAD HAPPENED AND IT NEEDS YOUR ATTENTION 🦄

The environment in which you're running anvi'o has a Python
version that is not compatible with the Python version
requirement of anvi'o you are running. Here is a summary:

Anvi'o version you have ..............: 8 (marie)
Python version you have ..............: 3.8.10
Python version anvi'o wants ..........: 3.10.*

This should never have happened with a stable anvi'o release :/
Please follow the most up-to-date installation instructions at
https://anvio.org/install/ to re-install anvi'o and its environment.

System info

installed with pip according to the instruction on the site.

(anvio-8) moshea@shannon:~$ python
Python 3.10.13 | packaged by conda-forge | (main, Dec 23 2023, 15:36:39) [GCC 12.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.

Detailed description of the issue

anvio detects a different python to what I have.

@meren
Copy link
Member

meren commented Feb 6, 2024

Hi @Naturalist1986,

It is difficult for me to make sense of this issue and imagine what might have gone wrong with your setup. But if anvi'o detects a different Python version associated with the environment in which it operates, then there is a different version there.

My approach would be to clean up the conda environment and start from scratch. This can't be a bug related to anvi'o codebase because if that was the case none of the installations would've worked.

Sorry for not being more helpful at this time :/

Best wishes,
Meren

@meren meren closed this as completed Feb 6, 2024
@Naturalist1986
Copy link
Author

Hi, Meren

Thanks for the quick response! Turns out to system was using an old pip, I guess it used it in the package installation phase and I didn't notice. It works now! Your program is amazing by the way thanks for all your work!

Best wishes,
Naturalist

@meren
Copy link
Member

meren commented Feb 6, 2024

Thank you, @Naturalist1986. I will relay your compliment to the anvi'o developers :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants