Closed zhongzheng1999 closed 6 months ago
get the same error. Anyone solve it?
Hello,
Sorry for the late reply!! This problem was fixed previously, you should install CellPhoneDB from GitHub to fix on your side:
pip install --force-reinstall "git+https://github.com/ventolab/CellphoneDB.git"
Please let us know if this helps you!
Best, Batu
Hi @cakirb !
I wanted to let you know that I have successfully resolved the issue and managed to run cpdb_statistical_analysis_method.call
as you suggested. However, I encountered the following error during installation:
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
chex 0.1.85 requires jax>=0.4.16, but you have jax 0.4.4 which is incompatible. torchvision 0.17.1 requires torch==2.2.1, but you have torch 2.3.0 which is incompatible. orbax-checkpoint 0.5.3 requires jax>=0.4.9, but you have jax 0.4.4 which is incompatible. scikit-bio 0.5.9 requires scipy<=1.10.1, but you have scipy 1.13.0 which is incompatible. scanorama 1.7.4 requires intervaltree>=3.1.0, but you have intervaltree 2.1.0 which is incompatible. numpyro 0.13.2 requires jax>=0.4.14, but you have jax 0.4.4 which is incompatible. botocore 1.32.1 requires urllib3<2.1,>=1.25.4; python_version >= "3.10", but you have urllib3 2.2.1 which is incompatible.
I understand that this might be due to incorrect dependency versions. Despite this, I was still able to get the results. Perhaps loosening the dependency version requirements could help reduce the anxiety caused by these errors, haha. Thank you very much for your help!
Hi @zhongzheng1999,
Glad this worked well for you! Also thanks for your feedback on dependency error, we will look into loosening the version requirements.
Best, Batu
counts_file_path must is a path to the normalized count matrix, or an in-memory AnnData object, but when you make an Anndata object, cellphonedb doesn't work!