arzwa / wgd

Python package and CLI for whole-genome duplication related analyses. This package is deprecated in favor of https://github.com/heche-psb/wgd.
http://wgd.readthedocs.io/en/latest/
GNU General Public License v3.0
83 stars 41 forks source link

command "wgs ksd" work error #84

Open Athena010 opened 1 year ago

Athena010 commented 1 year ago

Hello! After I installed the wgd software, running the command "wgs ksd" will report an error " from numpy import double, empty, array, ndarray, var, cov, dot, bool, \ ImportError: cannot import name 'bool' from 'numpy' (/./01.Software/Miniconda/envs/wgd/lib/python3.10/site-packages/numpy/init.py) " what should I do. As far as I know the numpy needed to install wgd is required "numpy>=1.20" right?

thank you

heche-psb commented 1 year ago

Hi, 1.19.0 is the minimum, which I would suggest trying because my test is mainly based on python3.6-3.9 and numpy==1.19.0. Higher version of python and numpy (other dependent packages as well) might induce unexpected function importing issue as you showed.