Skip to content

'ModulaNotFoundError' appears: No module named 'scvi. _compat' #105

Description

@llzl84

When I import the scgen package, an error message named 'ModulaNotFoundError' appears: No module named 'scvi. _compat'

  1 """ScGen - Predicting single cell perturbations"""

----> [3]from ._scgenvae import SCGENVAE
4 from ._scgen import SCGEN
6 import logging

 2 import torch
 3 from scvi import REGISTRY_KEYS

----> [4] from scvi._compat import Literal
5 from scvi.module.base import BaseModuleClass, LossRecorder, auto_move_data
6 from scvi.nn import Encoder

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions