Open boegel opened 4 days ago
Hi @boegel,
Compleasm does not require installation via setup.py
. It is just a script that you can copy to any directory you want to run. But in this way, you have to make sure that miniprot
, hmmer
and sepp
already be installed. You can follow Manual Installation
in README. Another way to install compleasm and its dependencies is installing by conda via mamba create --name myenvname compleasm
or conda create -n <your_env_name> -c conda-forge -c bioconda compleasm
It seems like the
setup.py
is not done correctly, it results in a broken installation when usingpython setup.py install
orpip install .
(at least when using Python 3.11):Although the installation itself works, using the installation doesn't: running
compleasm run -h
results in an error like:The problem here is that
compleasm.py
imports from thecompleasm
namespace, which fails because the import is being done from thecompleasm.py
script (and not from thecompleasm
Python package that gets installed in/software/compleasm/0.2.6-foss-2023a/lib/python3.11/site-packages
).