Comments (7)
To deal with this issue for now, I just cleared out the dependencies set in setup.py
. In other words: install_requires=()
. This allowed me to install & run checkm2 successfully.
from checkm2.
Thanks for testing this. I've implemented your solution of removing requirements from the setup.py as this seems to resolve a lot of conflicts. Please re-open if issue surfaces again.
from checkm2.
Which version of scipy was/is used for checkm2 development?
from checkm2.
There are also potential conflicts between numpy and tensorflow, such as:
error: numpy 1.24.2 is installed but numpy~=1.19.2 is required by {'tensorflow'}
... when tensorflow is specified as tensorflow>=2.1.0,<2.6.0
I'm having a hard time finding a set of versions that satisfies python (3.9), numpy, grpcio, scipy, and tensorflow.
from checkm2.
I tried the following env yaml:
channels:
- conda-forge
- bioconda
- defaults
dependencies:
- python=3.9
- scikit-learn=0.23.2
- h5py=2.10.0
- numpy=1.19.2
- diamond=2.0.4
- tensorflow>=2.1.0,<2.6.0
- lightgbm=3.2.1
- pandas<=1.4.0
- scipy=1.9
- prodigal>=2.6.3
- setuptools
- requests
- packaging
- tqdm
...but this generates the error:
grpcio 1.32.0 is installed but grpcio>=1.48.2 is required by {'tensorboard'}
...at least when using mambaorg/micromamba:1.1.0
as the base image in my Dockerfile.
from checkm2.
If I try:
channels:
- conda-forge
- bioconda
- defaults
dependencies:
- python=3.9
- grpcio
- scikit-learn=0.23.2
- h5py=2.10.0
- numpy>=1.19.2
- diamond=2.0.4
- tensorflow>=2.1.0,<2.6.0
- lightgbm=3.2.1
- pandas<=1.4.0
- scipy>=1.8
- prodigal>=2.6.3
- setuptools
- requests
- packaging
- tqdm
...then I get:
error: numpy 1.24.2 is installed but numpy~=1.19.2 is required by {'tensorflow'}
from checkm2.
I tried explicitly running the setup as in the README:
git clone --recursive https://github.com/chklovski/checkm2.git --branch 1.0.1
cd checkm2
mamba env create -f checkm2.yml
python setup.py install
This results in the following error:
error: grpcio 1.32.0 is installed but grpcio>=1.48.2 is required by {'tensorboard'}
However, pip install "grpcio>=1.48.2"
results in the following:
Requirement already satisfied: grpcio>=1.48.2 in /home/gitpod/.conda/envs/checkm2/lib/python3.8/site-packages (1.52.1)
...and python3.8/site-packages/
contains both grpcio-1.52.1.dist-info
and grpcio-1.32.0-py3.8-linux-x86_64.egg
.
mamba env create -f checkm2.yml
is installing grpcio 1.52.1
, so python setup.py install
must be additionally installing grpcio-1.32.0
.
I'm using Ubuntu 20.04.5
for this test.
from checkm2.
Related Issues (20)
- TypeError: metaclass conflict HOT 7
- coding density
- Can Checkm2 be fine-tuned for euMAGs? HOT 1
- Got different results of the same genome from the different runs of checkm2 HOT 3
- testrun error: AttributeError: module '__main__' has no attribute '__spec__'
- Testrun ERROR: No DIAMOND annotation was generated. HOT 2
- test run yields different results HOT 1
- Database download failed HOT 3
- Naming Output TSV File
- Average_Gene_Length HOT 1
- How to remove the contamination sequence from MAGs HOT 2
- Cannot install ChekM2 HOT 1
- Question about Checkm2 Annotation HOT 1
- Checkm2 flags certain species and genera as contaminated on a consistent basis.
- the version checkm2 v1.0.2 was not available on conda HOT 1
- Error in DIAMOND execution HOT 2
- [Feature Request] Use #!/usr/bin/env python instead of hardcoding python path
- AttributeError: 'Predictor' object has no attribute '__set_up_prodigal_thread' HOT 2
- Random errors on clusters HOT 3
- Database update? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from checkm2.