Scanpy: ImportError: cannot import name 'read' from 'scanpy' (unknown location)

Created on 28 Sep 2020  路  2Comments  路  Source: theislab/scanpy

Hi

I have successfully installed scanpy but
ImportError Traceback (most recent call last)
in
----> 1 import scvelo as scv
2 import scanpy as sc
3 import numpy as np

~/anaconda3/lib/python3.7/site-packages/scvelo/__init__.py in
14 del version
15
---> 16 from .read_load import AnnData, read, read_loom, load, read_csv, get_df, DataFrame
17 from .preprocessing.neighbors import Neighbors
18 from .tools.run import run_all, test

~/anaconda3/lib/python3.7/site-packages/scvelo/read_load.py in
10 from scipy.sparse import issparse
11 from anndata import AnnData
---> 12 from scanpy import read, read_loom
13
14

ImportError: cannot import name 'read' from 'scanpy' (unknown location)

Would you please help me to fix this problem.

Thank you

bug

Most helpful comment

@giovp

I solved the problem its scvelo and I have installed the package and now it works fine.

Thank you

All 2 comments

From the traceback, it'ss look like it's scvelo https://github.com/theislab/scvelo
Can you post this error with a reproducible example in scvelo repo ?

Will close this, feel free to reopen if problem persist

@giovp

I solved the problem its scvelo and I have installed the package and now it works fine.

Thank you

Was this page helpful?
0 / 5 - 0 ratings

Related issues

erikadudki picture erikadudki  路  3Comments

tkisss picture tkisss  路  5Comments

juugii picture juugii  路  3Comments

falexwolf picture falexwolf  路  4Comments

MichaelPeibo picture MichaelPeibo  路  6Comments