Help with scvelo
Hi Biostars,
I try to use scvelo but got this error message:
scv.tl.velocity_graph(adata)
ValueError: setting an array element with a sequence. The requested array has an inhomogeneous shape after 2 dimensions. The detected shape was (1, 4) + inhomogeneous part.
This is a math error but not sure how to fix it. Would you please have a suggestion? Thank you so much and have a nice week!
• 2,556 views
•
link
1 answer
I had same issue.
But this resolved my error:
conda create -n scvelo_env python=3.9
conda activate scvelo_env
conda install numpy scipy cython numba matplotlib scikit-learn h5py click
pip install notebook
pip install scanpy
pip install leidenalg
pip install scvelo
pip install pandas==1.1.5
pip install numpy==1.21.1
• 0 views
•
link
Log in to answer this question.
I bet you already tried this