美文网首页
pySCENIC运行报错:python3.9/site-pack

pySCENIC运行报错:python3.9/site-pack

作者: 嘿嘿嘿嘿哈 | 来源:发表于2024-08-03 00:11 被阅读0次

按照网上教程安装各种依赖包后,运行pyscenic仍然报错:

miniconda3/envs/pyscenic/lib/python3.9/site-packages/pyscenic/transform.py:42: FutureWarning: In the future `np.object` will be defined as the corresponding NumPy scalar.
  ("Enrichment", COLUMN_NAME_ANNOTATION): np.object,
Traceback (most recent call last):
  File "/home/lilab/miniconda3/envs/pyscenic/bin/pyscenic", line 5, in <module>
    from pyscenic.cli.pyscenic import main
...
image.png

经查阅是由以下原因导致的,[BUG] Installation error · Issue #518 · aertslab/pySCENIC · GitHub

重新安装numpy包,指定安装版本小于1.24就解决问题了

conda install -y numpy=1.23

相关文章

网友评论

      本文标题:pySCENIC运行报错:python3.9/site-pack

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