ventolab / CellphoneDB

CellPhoneDB can be used to search for a particular ligand/receptor, or interrogate your own HUMAN single-cell transcriptomics data.
https://www.cellphonedb.org/
MIT License
308 stars 51 forks source link

subsampling #96

Closed jinlanzhan closed 1 year ago

ktroule commented 1 year ago

Can we help?

jinlanzhan commented 1 year ago

ImportError Traceback (most recent call last)

in 2 import glob 3 import os ----> 4 from cellphonedb.utils import db_utils 5 db_utils.create_db("/group_homes/public_cluster/home/u37189/Project/20230102_smell_loss/cellphoneDB/out_total_repository/cellphonedb_user_2023-03-09-21_21.db") ImportError: cannot import name 'db_utils' from 'cellphonedb.utils' (/home/miniconda3/envs/cellphonedb/lib/python3.7/site-packages/cellphonedb/utils/__init__.py)
jinlanzhan commented 1 year ago

ImportError: cannot import name 'db_utils' from 'cellphonedb.utils'

jinlanzhan commented 1 year ago

image but ,this works well

jinlanzhan commented 1 year ago

image

ktroule commented 1 year ago

It seems you have installed python 3.7, as noted in the documentation CellPhoneDB requires python 3.8 or higher. Try again python 3.8.

jinlanzhan commented 1 year ago

image

thanks, Encountered new problems

ktroule commented 1 year ago

Do you have the uniprot_synonyms.tsv in the sources folder?

jinlanzhan commented 1 year ago

Do you have the uniprot_synonyms.tsv in the sources folder?