tleonardi / nanocompore

RNA modifications detection from Nanopore dRNA-Seq data
https://nanocompore.rna.rocks
GNU General Public License v3.0
78 stars 12 forks source link

Installing problem of nanocompore #142

Closed aman21392 closed 4 years ago

aman21392 commented 4 years ago

I don't know what is the problem during downloading and after executing nanocompore command. I tried all way which you tell https://nanocompore.rna.rocks/installation/ . but when i doing help command i didn't get anything but error- ~$ nanocompore sampcomp --help Traceback (most recent call last): File "/home/aclab/.local/bin/nanocompore", line 7, in from nanocompore.main import main File "/home/aclab/.local/lib/python3.6/site-packages/nanocompore/main.py", line 15, in from nanocompore.SampComp import SampComp File "/home/aclab/.local/lib/python3.6/site-packages/nanocompore/SampComp.py", line 23, in from nanocompore.TxComp import txCompare File "/home/aclab/.local/lib/python3.6/site-packages/nanocompore/TxComp.py", line 12, in import statsmodels.discrete.discrete_model as dm File "/home/aclab/.local/lib/python3.6/site-packages/statsmodels/init.py", line 10, in from statsmodels.tools.sm_exceptions import (ConvergenceWarning, CacheWriteWarning, File "/home/aclab/.local/lib/python3.6/site-packages/statsmodels/tools/init.py", line 1, in from .tools import add_constant, categorical File "/home/aclab/.local/lib/python3.6/site-packages/statsmodels/tools/tools.py", line 9, in import pandas as pd File "/home/aclab/.local/lib/python3.6/site-packages/pandas/init.py", line 42, in from pandas.core.api import * File "/home/aclab/.local/lib/python3.6/site-packages/pandas/core/api.py", line 7, in from pandas.core.arrays.integer import ( File "/home/aclab/.local/lib/python3.6/site-packages/pandas/core/arrays/init.py", line 2, in from .base import (ExtensionArray, # noqa File "/home/aclab/.local/lib/python3.6/site-packages/pandas/core/arrays/base.py", line 21, in from pandas.core import ops File "/home/aclab/.local/lib/python3.6/site-packages/pandas/core/ops/init.py", line 43, in from pandas.core.ops.mask_ops import kleene_and, kleene_or, kleene_xor # noqa: F401 File "/home/aclab/.local/lib/python3.6/site-packages/pandas/core/ops/mask_ops.py", line 120, in left: Union[bool, libmissing.NAType, np.ndarray], AttributeError: module 'pandas._libs.missing' has no attribute 'NAType'

So please help me to get this problem to solve as soon as possible. I do all other steps which are required for this command. So i want please solve this issue first time i got stuck into not installing program. Thank you in advance

a-slide commented 4 years ago

Hi @aman21392,

Looking at the log, I suppose there is a library conflict with things you have previously installed.

Would you be able to create a clean virtual environment with conda or virtualenv (as recommanded in the installation instructions) and try again ?

Hemantr05 commented 3 years ago

@aman21392 I had the same issue. I was able to fix it by downgrading the pandas version to 0.24.0

Basically, pip install pandas==0.24.0