yezhengSTAT / scVI-3D

GNU General Public License v3.0
5 stars 2 forks source link

AssertionError: daemonic processes are not allowed to have children #4

Open shinohara-xiao opened 1 year ago

shinohara-xiao commented 1 year ago

Hi !

When I run the code, I got an "AttributeError: module 'scvi.data' has no attribute 'setup_anndata'" ,
I Searched and fund that the module changed, so I changed "scvi.data.setup_anndata(adata, batch_key = 'batch')" to scvi.model.SCVI.setup_anndata(adata,batch_key = 'batch'), But after this, I got an "assertionError: daemonic processes are not allowed to have children" How this happened and what can I do to solve this problem?

yezhengSTAT commented 1 year ago

Hello, Thanks for bringing it up! A quick solution is to install a relatively older version of scvi-tools such as 0.14.5. Considering the scvi-tools is going through rapid update, maybe using the older but stabler version will work.

Thanks, Ye