Skip to content

Unable to import episcanpy after successful pip install #140

@Sonali513

Description

@Sonali513

ImportError Traceback (most recent call last)
Cell In[5], line 1
----> 1 import episcanpy as epi

File ~\AppData\Roaming\Python\Python311\site-packages\episcanpy_init_.py:26
24 from . import tools as tl
25 from . import preprocessing as pp
---> 26 from . import count_matrix as ct
27 from . import plotting as pl
28 # import read functions

File ~\AppData\Roaming\Python\Python311\site-packages\episcanpy\count_matrix_init_.py:4
2 from ..count_matrix._features import load_features_gff, load_features_gtf
3 from ..count_matrix._load_input_file import read_cyt_summary
----> 4 from ..count_matrix._bld_met_mtx import build_count_mtx
5 from ..count_matrix._atac_mtx import bld_atac_mtx, save_sparse_mtx
6 from ..count_matrix._load_met_ct_mtx import load_met_noimput

File ~\AppData\Roaming\Python\Python311\site-packages\episcanpy\count_matrix_bld_met_mtx.py:2
1 import numpy as np
----> 2 from numpy import NaN
4 # chromosomes for 2 principal species. If you work with another genome
5 # the chromosomes will have to be specified
6 #HUMAN = ['1', '10', '11', '12', '13', '14', '15', '16', '17', '18', '19', '2',
...
9 # '3', '4', '5', '6', '7', '8', '9', 'X', 'Y']
10 # my favorite dataset ;-)
11 HEAD_Ecker = ['chr', 'pos', 'strand', 'mc_class', 'mc_count', 'total', 'methylated\n']

ImportError: cannot import name 'NaN' from 'numpy' (C:\Users\sonal\AppData\Roaming\Python\Python311\site-packages\numpy_init_.py)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions