按照网上教程安装各种依赖包后,运行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
网友评论