christophertbrown / iRep

scripts for estimating bacteria replication rates based on population genome copy number variation
MIT License
68 stars 9 forks source link

Error with import and looking for advice for batch calculation #43

Open ZeWLi opened 1 year ago

ZeWLi commented 1 year ago

Hi Christopher, I'm glad that iRep provided a method for calculating replicate rates of microbes with metagenomes. Now I'm trying to calculate all the iRep values in a microbial community. That's not really easy for me, so I wonder is there a better way to do that? Also the programs raise a error info: Traceback (most recent call last): File "/home/lizw/anaconda3/bin/iRep", line 22, in <module> import lmfit File "/home/lizw/anaconda3/lib/python3.7/site-packages/lmfit/__init__.py", line 38, in <module> from .confidence import conf_interval, conf_interval2d File "/home/lizw/anaconda3/lib/python3.7/site-packages/lmfit/confidence.py", line 6, in <module> from scipy.optimize import root_scalar ImportError: cannot import name 'root_scalar' from 'scipy.optimize' (/home/lizw/anaconda3/lib/python3.7/site-packages/scipy/optimize/__init__.py) I believe that's because the version of python is updating. So could you please recommend a steady python version environment or point out the problem? Thank you for your time!