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

Bug on a fresh install #115

Open
asaldivar93 opened this issue Sep 24, 2024 · 2 comments
Open

Bug on a fresh install #115

asaldivar93 opened this issue Sep 24, 2024 · 2 comments

Comments

@asaldivar93
Copy link

When running checkm2 on a new environment I got this error:

Traceback (most recent call last): File "/opt/asaldivar/miniconda3/envs/checkm2/bin/checkm2", line 27, in <module> from checkm2 import predictQuality File "/opt/asaldivar/miniconda3/envs/checkm2/lib/python3.6/site-packages/checkm2/predictQuality.py", line 1, in <module> from checkm2 import modelProcessing File "/opt/asaldivar/miniconda3/envs/checkm2/lib/python3.6/site-packages/checkm2/modelProcessing.py", line 17, in <module> from tensorflow import keras File "/opt/asaldivar/miniconda3/envs/checkm2/lib/python3.6/site-packages/tensorflow/__init__.py", line 41, in <module> from tensorflow.python.tools import module_util as _module_util File "/opt/asaldivar/miniconda3/envs/checkm2/lib/python3.6/site-packages/tensorflow/python/__init__.py", line 41, in <module> from tensorflow.python.eager import context File "/opt/asaldivar/miniconda3/envs/checkm2/lib/python3.6/site-packages/tensorflow/python/eager/context.py", line 28, in <module> from absl import logging File "/opt/asaldivar/miniconda3/envs/checkm2/lib/python3.6/site-packages/absl/logging/__init__.py", line 97, in <module> from absl import flags File "/opt/asaldivar/miniconda3/envs/checkm2/lib/python3.6/site-packages/absl/flags/__init__.py", line 35, in <module> from absl.flags import _argument_parser File "/opt/asaldivar/miniconda3/envs/checkm2/lib/python3.6/site-packages/absl/flags/_argument_parser.py", line 82, in <module> class ArgumentParser(Generic[_T], metaclass=_ArgumentParserCache): TypeError: metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases

Traced it back to a Tensorflow issue: #64926

The hotfix was:

pip install absl-py==1.1.0

@vdejager
Copy link

vdejager commented Oct 1, 2024

Thanks, this was also the issue on our installation.

@lijierr
Copy link

lijierr commented Oct 18, 2024

Same here, installed via conda. Any ideas?

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

3 participants