-
Notifications
You must be signed in to change notification settings - Fork 52
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
ModuleNotFoundError: No module named 'anndata.io' #261
Comments
Hello, where does this happen? Could you post the full traceback, the versions of |
sure, here it is:ModuleNotFoundError Traceback (most recent call last) File ~/miniconda3/envs/hasti_env/lib/python3.8/site-packages/scArches-0.6.1-py3.8.egg/scarches/init.py:1 File ~/miniconda3/envs/hasti_env/lib/python3.8/site-packages/scArches-0.6.1-py3.8.egg/scarches/models/init.py:1 File ~/miniconda3/envs/hasti_env/lib/python3.8/site-packages/scArches-0.6.1-py3.8.egg/scarches/models/trvae/trvae.py:9 File ~/miniconda3/envs/hasti_env/lib/python3.8/site-packages/scArches-0.6.1-py3.8.egg/scarches/models/trvae/losses.py:1 File ~/miniconda3/envs/hasti_env/lib/python3.8/site-packages/scvi_tools-1.2.2.post2-py3.8.egg/scvi/init.py:11 File ~/miniconda3/envs/hasti_env/lib/python3.8/site-packages/scvi_tools-1.2.2.post2-py3.8.egg/scvi/data/init.py:2 ModuleNotFoundError: No module named 'anndata.io' |
This looks like a problem with |
which version should I use? |
my |
Your |
the problem is that pip and conda can only install this version for me. when I tried to install the latest version "0.11.3" using pip, i got an error. because pip couldn't find this version |
you can do |
Hello,
I've been trying to execute your Jupyter notebooks but i get error for importing "anndata.io".
I've already installed "anndata" package version 0.9.2, but it seems that this package doesn't contain anndata.io.
The error occurs like this:
import scarches as sca
from . import dataset, metrics, trainers, models, zenodo, plotting, utils, classifiers
from .trvae.trvae import trVAE
from .losses import mse, mmd, zinb, nb
from scvi.distributions import NegativeBinomial
from . import data, model, external, utils
from anndata.io import read_csv, read_loom, read_text
what can I do to resolve this problem?
The text was updated successfully, but these errors were encountered: