Yelab2020 / Cottrazm

Construct Tumor Transition Zone Microenvironment
31 stars 6 forks source link

Error in py_run_file_impl(file, local, convert) #1

Open wang0430 opened 1 year ago

wang0430 commented 1 year ago

Hello Author, Congratulations on publishing this excellent study! When I try to use this tool, the STModiCluster function keeps getting an error. How can I solve this problem?

TumorST = STModiCluster(InDir = input, Sample = Sample, OutDir = output, TumorST = TumorST, res = 0.8) Error in py_run_file_impl(file, local, convert) : TypeError: metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases

zaozaozaonan commented 1 year ago

How many core did you use to run the STModiCluster funciton? I can't even get any responce before my R server crash.

xzz-1995 commented 3 months ago

How many core did you use to run the STModiCluster funciton? I can't even get any responce before my R server crash.

@zaozaozaonan, could you provied more detailed error message? It migth caused by r-reticulate conflict, you can check your r-reticulate version and restart R.

xzz-1995 commented 3 months ago

Hello Author, Congratulations on publishing this excellent study! When I try to use this tool, the STModiCluster function keeps getting an error. How can I solve this problem?

TumorST = STModiCluster(InDir = input, Sample = Sample, OutDir = output, TumorST = TumorST, res = 0.8) Error in py_run_file_impl(file, local, convert) : TypeError: metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases

Hi, this error might caused by the conflict version when you import python modules. Could you give me more information of your session_info and versions of python modules? Thx