JLSteenwyk / ClipKIT

a multiple sequence alignment-trimming algorithm for accurate phylogenomic inference
https://jlsteenwyk.com/ClipKIT/
MIT License
61 stars 4 forks source link

Cannot Install the clipkit #46

Closed zhangwenda0518 closed 5 months ago

zhangwenda0518 commented 5 months ago

Hello teacher, I encountered a problem during installation. I tried Conda or the source code but encountered the following error. Can you help me see why my python was 3.8

Traceback (most recent call last): File "setup.py", line 4, in from clipkit.version import version File "/home/zhangwenda/biosoft/tree/ClipKIT/clipkit/init.py", line 1, in from .api import clipkit File "/home/zhangwenda/biosoft/tree/ClipKIT/clipkit/api.py", line 4, in from .clipkit import run File "/home/zhangwenda/biosoft/tree/ClipKIT/clipkit/clipkit.py", line 9, in from .args_processing import process_args File "/home/zhangwenda/biosoft/tree/ClipKIT/clipkit/args_processing.py", line 5, in from .helpers import SeqType File "/home/zhangwenda/biosoft/tree/ClipKIT/clipkit/helpers.py", line 6, in from .msa import MSA File "/home/zhangwenda/biosoft/tree/ClipKIT/clipkit/msa.py", line 16, in class MSA: File "/home/zhangwenda/biosoft/tree/ClipKIT/clipkit/msa.py", line 96, in MSA def is_any_entry_sequence_only_gaps(self) -> tuple[bool, Union[str, None]]: TypeError: 'type' object is not subscriptable

JLSteenwyk commented 5 months ago

Hi @zhangwenda0518,

Thank you for choosing ClipKIT and for writing us regarding your issue.

As of ClipKIT v2.0.0, Python v3.8 is no longer supported. Python v3.8 is no longer supported because the end-of-life of v3.8 is fast approaching. Thus, we recommend updating your Python version to v3.9 or v3.10, which ClipKIT currently supports.

An alternative, but less desirable, solution is to install the last version of ClipKIT that supported Python v3.8 using the following command for installing via PIP: pip install clipkit==1.4.1.

ClipKIT v1.4.1 has some known (minor) bugs and lacks the complete set of features that are currently in production. Accordingly, we strongly recommend updating the Python version instead of rolling back to ClipKIT v1.4.1.

Thanks again for choosing ClipKIT for your alignment trimming needs. If ClipKIT interests you, please check out our other software that may be useful!

All the best,

Jacob