scanpy: Cannot import Scanpy

import scanpy as sc
---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
~\AppData\Local\Temp/ipykernel_22924/912249142.py in <module>
----> 1 import scanpy as sc

~\Anaconda3\lib\site-packages\scanpy\__init__.py in <module>
     13     Verbosity,
     14 )  # start with settings as several tools are using it
---> 15 from . import tools as tl
     16 from . import preprocessing as pp
     17 from . import plotting as pl

~\Anaconda3\lib\site-packages\scanpy\tools\__init__.py in <module>
     15 from ._leiden import leiden
     16 from ._louvain import louvain
---> 17 from ._sim import sim
     18 from ._score_genes import score_genes, score_genes_cell_cycle
     19 from ._dendrogram import dendrogram

~\Anaconda3\lib\site-packages\scanpy\tools\_sim.py in <module>
     21 from anndata import AnnData
     22 
---> 23 from .. import _utils, readwrite, logging as logg
     24 from .._settings import settings
     25 from .._compat import Literal

~\Anaconda3\lib\site-packages\scanpy\readwrite.py in <module>
      8 import pandas as pd
      9 from matplotlib.image import imread
---> 10 import tables
     11 import anndata
     12 from anndata import (

~\Anaconda3\lib\site-packages\tables\__init__.py in <module>
     40 # Import the user classes from the proper modules
     41 from .exceptions import *
---> 42 from .file import File, open_file, copy_file
     43 from .node import Node
     44 from .group import Group

~\Anaconda3\lib\site-packages\tables\file.py in <module>
     21 import numpy as np
     22 
---> 23 from . import hdf5extension
     24 from . import utilsextension
     25 from . import parameters

ImportError: DLL load failed: The specified procedure could not be found.

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 17 (9 by maintainers)

Most upvoted comments

Ah, duplicate of https://github.com/theislab/scanpy/issues/1468 Next time please kindly look for the issue in the existing issues. There’s a reason why we are kindly asking you to tick the boxes in the issue template 😃