Open yschencau opened 1 year ago
I had the same problem, I fixed it by using a conda environment with python=3.7, then using pip install bigslice on python 3.7.
Thanks a lot! The problem was solved.
The problem still persists and python 3.7 is end-of-life. The easiest way to circumvent this problem is to pin numpy to version <1.24:
pip install bigslice numpy<1.24
# or alternitively
pip install bigslice numpy==1.23
This works for python 3.8, 3.9, 3.10. Unfortunately, biopython 1.76 seems to be incompatible with python >=3.11.
For the next release of bigslice the versions of numpy and biopython should be ideally bumped to their latest. This would allow to install bigslice on newer python version.
Thank you for your email. This is an automatic reply, confirming that your email was received. I will reply as soon as possible. Best wishes. Yunsheng
This issue is resolved for me with bigslice version 2.0.0.
It seems that numpy >=1.24 is compatible with bigslice 2.0, which again makes it compatible with python >=3.11.
That is bigslice --version
works without problem.
Thank you for your email. This is an automatic reply, confirming that your email was received. I will reply as soon as possible. Best wishes. Yunsheng
Hi. I had some problems during installation check, and I tried hard to fix it but still didn't work. The problem seemed like occur in birch.py as ''raise AttributeError("module {!r} has no attribute " AttributeError: module 'numpy' has no attribute 'float''' when I typed "bigslice --version''. If you have any solutions or instructions, please contact me as soon as possible. Thanks.