CollasLab / edd

Enriched Domain Detector for ChIP-seq data
https://pypi.python.org/pypi/edd
MIT License
16 stars 4 forks source link

AttributeError: 'module' object has no attribute '__version__' #17

Open Mingsenli opened 3 years ago

Mingsenli commented 3 years ago

Hello, edd is an useful tool, and i really need it. Thank you for your contribution and sharing.

When i run edd, the following error was made. How can i solve this problem? As a beginner, i hope to get a detailed solution. Looking forward to your reply. Thank you.

edd --write-log-ratios --write-bin-scores \ chrNameLength.txt hg19.blacklist.merge.bed \ H3K9me2_ab.rmdup.bam input.rmdup.bam H3K9me2_ab

Traceback (most recent call last): File "/data/User/limingsen/.conda/envs/EDD/bin/edd", line 133, in import eddlib.experiment File "/data/User/limingsen/.conda/envs/EDD/lib/python2.7/site-packages/eddlib/experiment.py", line 18, in import logit File "/data/User/limingsen/.conda/envs/EDD/lib/python2.7/site-packages/eddlib/logit.py", line 3, in from statsmodels.stats.proportion import proportion_confint File "/data/User/limingsen/.conda/envs/EDD/lib/python2.7/site-packages/statsmodels/stats/init.py", line 1, in from statsmodels.tools._testing import PytestTester File "/data/User/limingsen/.conda/envs/EDD/lib/python2.7/site-packages/statsmodels/tools/init.py", line 1, in from .tools import add_constant, categorical File "/data/User/limingsen/.conda/envs/EDD/lib/python2.7/site-packages/statsmodels/tools/tools.py", line 8, in from statsmodels.compat.python import lzip, lmap File "/data/User/limingsen/.conda/envs/EDD/lib/python2.7/site-packages/statsmodels/compat/init.py", line 1, in from statsmodels.tools._testing import PytestTester File "/data/User/limingsen/.conda/envs/EDD/lib/python2.7/site-packages/statsmodels/tools/_testing.py", line 11, in from statsmodels.compat.pandas import assert_equal File "/data/User/limingsen/.conda/envs/EDD/lib/python2.7/site-packages/statsmodels/compat/pandas.py", line 4, in import numpy as np File "/data/User/limingsen/.conda/envs/EDD/lib/python2.7/site-packages/statsmodels/compat/numpy.py", line 46, in NP_LT_114 = LooseVersion(np.version) < LooseVersion('1.14') AttributeError: 'module' object has no attribute 'version'

zhangshuli-stu commented 2 years ago

hello, do you solve the problem? I also have the same problem and do not know how to solve. If it is convenient, could you please help me? I will be very grateful.

Mingsenli commented 2 years ago

I am so sorry. I also do not solve this problem.     ------------------ Original ------------------ From: @.>; Date:  Sat, Jan 8, 2022 11:15 AM To: @.>; Cc: @.>; @.>; Subject:  Re: [CollasLab/edd] AttributeError: 'module' object has no attribute 'version' (#17)

 

hello, do you solve the problem? I also have the same problem and do not know how to solve. If it is convenient, could you please help me? I will be very grateful.

— Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you authored the thread.Message ID: @.***>

zhangshuli-stu commented 2 years ago

Thank you very much! Best wishes!

At 2022-01-22 17:42:05, "Mingsenli" @.***> wrote:

I am so sorry. I also do not solve this problem.     ------------------ Original ------------------ From: @.>; Date:  Sat, Jan 8, 2022 11:15 AM To: @.>; Cc: @.>; @.>; Subject:  Re: [CollasLab/edd] AttributeError: 'module' object has no attribute 'version' (#17)

 

hello, do you solve the problem? I also have the same problem and do not know how to solve. If it is convenient, could you please help me? I will be very grateful.

— Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you authored the thread.Message ID: @.***>

— Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you commented.Message ID: @.***>

dmalzl commented 2 years ago

As far as my investigation went I found that it is actually not EDD that is causing the problem but rather statsmodels which apparently is incompatible with python 2.7 from it 0.11 version (also see here). Thus, I would say a quick solution might be getting an older version of statsmodels (like 0.10)

zhangshuli-stu commented 2 years ago

Thank you very much, I have found the statsmodels==0.6.1 can work well.

At 2022-02-13 17:03:06, "Daniel Malzl" @.***> wrote:

As far as my investigation went I found that it is actually not EDD that is causing the problem but rather statsmodels which apparently is incompatible with python 2.7 from it 0.11 version (also see here). Thus, I would say a quick solution might be getting an older version of statsmodels (like 0.10)

— Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you commented.Message ID: @.***>

Mingsenli commented 2 years ago

Thank you for helping to solve this problem.  Your help has brought me great convenience.   ------------------ Original ------------------ From: @.>; Date:  Mon, Feb 14, 2022 09:31 AM To: @.>; Cc: @.>; @.>; Subject:  Re: [CollasLab/edd] AttributeError: 'module' object has no attribute 'version' (#17)

 

Thank you very much, I have found the statsmodels==0.6.1 can work well.

At 2022-02-13 17:03:06, "Daniel Malzl" @.***> wrote:

As far as my investigation went I found that it is actually not EDD that is causing the problem but rather statsmodels which apparently is incompatible with python 2.7 from it 0.11 version (also see here). Thus, I would say a quick solution might be getting an older version of statsmodels (like 0.10)

— Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you commented.Message ID: @.> — Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you authored the thread.Message ID: @.>

zhangshuli-stu commented 2 years ago

No thanks, I am very glad to help you.

Best regard, Shuli

At 2022-03-07 11:31:40, "Mingsenli" @.***> wrote:

Thank you for helping to solve this problem.  Your help has brought me great convenience.   ------------------ Original ------------------ From: @.>; Date:  Mon, Feb 14, 2022 09:31 AM To: @.>; Cc: @.>; @.>; Subject:  Re: [CollasLab/edd] AttributeError: 'module' object has no attribute 'version' (#17)

 

Thank you very much, I have found the statsmodels==0.6.1 can work well.

At 2022-02-13 17:03:06, "Daniel Malzl" @.***> wrote:

As far as my investigation went I found that it is actually not EDD that is causing the problem but rather statsmodels which apparently is incompatible with python 2.7 from it 0.11 version (also see here). Thus, I would say a quick solution might be getting an older version of statsmodels (like 0.10)

— Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you commented.Message ID: @.> — Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you authored the thread.Message ID: @.>

— Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you commented.Message ID: @.***>