theislab / scgen

Single cell perturbation prediction
https://scgen.readthedocs.io
GNU General Public License v3.0
255 stars 51 forks source link

ImportError: cannot import name 'setup_anndata' from 'scvi.data' #64

Closed shangyf-stu closed 2 years ago

shangyf-stu commented 2 years ago

Hi, Thanks for your nice work! I want to run the tutorial for batch-removal, but some errors appear. I have followed the installation tutorial to complete the installation, but do not install PyTorch. When I am import scgen, I meet this ImportError.

And there is an error when downloading the data, a server exception occurs when the download is about to be completed

Best wishes, Shang

adamgayoso commented 2 years ago

The tutorial and the docs are now up to date! Please ensure you install the master branch version.