美文网首页
ModuleNotFoundError: No module n

ModuleNotFoundError: No module n

作者: Seurat_Satija | 来源:发表于2021-08-26 20:52 被阅读0次
(sc2) rstudio 12:51:33 ~
$ ipython
Python 3.8.10 (default, Jun  2 2021, 10:49:15) 
Type 'copyright', 'credits' or 'license' for more information
IPython 7.26.0 -- An enhanced Interactive Python. Type '?' for help.

In [1]: import scanpy as sc
---------------------------------------------------------------------------
ModuleNotFoundError                       Traceback (most recent call last)
<ipython-input-1-0074c9bc0b31> in <module>
----> 1 import scanpy as sc

~/.local/lib/python3.8/site-packages/scanpy/__init__.py in <module>
      4 
      5 if not within_flit():  # see function docstring on why this is there
----> 6     from ._utils import check_versions
      7 
      8     check_versions()

~/.local/lib/python3.8/site-packages/scanpy/_utils/__init__.py in <module>
     16 from typing import Union, Callable, Optional, Mapping, Any, Dict, Tuple
     17 
---> 18 import numpy as np
     19 from numpy import random
     20 from scipy import sparse

ModuleNotFoundError: No module named 'numpy'

相关文章

网友评论

      本文标题:ModuleNotFoundError: No module n

      本文链接:https://www.haomeiwen.com/subject/muauiltx.html