-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
tutorial does not run -- version issues with scvi-tools #90
Comments
I tried running the same tutorial via Google Colab as well and have the same dependencies issues. |
Hi! This fork has resolved some of my issues, I hope it helps: https://github.com/szhorvat/scgen |
I encountered this problem, too.
I finally solved it by adding ".copy()" to "train_new = train[~((train.obs["cell_type"] == "CD4T") & (train.obs["condition"] == "stimulated"))]" at the end |
I resolved the issue with scgen by downgrading
|
Hello, I am trying to run the scgen_perturbation_prediction.ipynb tutorial but am having dependency issues, namely with
scvi-tools
.I created a new
conda
env with the latest releases:scgen 2.1.0
scvi-tools 1.0.4
When simply running the tutorial, on
import scgen
, I got:It appears as if
LossRecorder
was renamed to LossOutput.I simply changed
LossRecorder
toLossOutput
but then kept getting new errors such as "Literal is deprecated, use typing instead" (again, just modifiedfrom typing import Literal
), but then more errors... i ended up just restarting and installingpip install git+https://github.com/theislab/scgen.git
development version, but now get the error:I was wondering what is the last stable versions to run the tutorial without having to manually go through all these errors? Thanks!
The text was updated successfully, but these errors were encountered: