Skip to content
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

type object 'Dataset' has no attribute 'unify_chunks' #127

Open
hf1s opened this issue Dec 19, 2023 · 2 comments
Open

type object 'Dataset' has no attribute 'unify_chunks' #127

hf1s opened this issue Dec 19, 2023 · 2 comments

Comments

@hf1s
Copy link

hf1s commented Dec 19, 2023

hello, I get a problem when I import msmexplorer as msme:

AttributeError Traceback (most recent call last)
in
----> 1 import msmexplorer as msme

~/anaconda3/envs/tIC/lib/python3.6/site-packages/msmexplorer/init.py in
----> 1 from .plots import *
2
3 from .version import version as _version
4 version = _version

~/anaconda3/envs/tIC/lib/python3.6/site-packages/msmexplorer/plots/init.py in
2 from .msm import *
3 from .tpt import *
----> 4 from .projection import *
5 from .cluster import *
6 from .misc import *

~/anaconda3/envs/tIC/lib/python3.6/site-packages/msmexplorer/plots/projection.py in
3 from matplotlib import pyplot as pp
4
----> 5 from corner import corner
6 from seaborn.distributions import (_scipy_univariate_kde, _scipy_bivariate_kde)
7
...
-> 1397 unify_chunks = _extend_xr_method(xr.Dataset.unify_chunks)
1398 load = _extend_xr_method(xr.Dataset.load)
1399 compute = _extend_xr_method(xr.Dataset.compute)

AttributeError: type object 'Dataset' has no attribute 'unify_chunks'

I don't know how to solve it.

@theshyupallkill
Copy link

Have u solved this problem? I have the same one.

@hf1s
Copy link
Author

hf1s commented Apr 8, 2024

Have u solved this problem? I have the same one.

yes,I think maybe it is caused by the version of some package.
Maybe you can try to install matplotlib-base =3.03, xarray=0.13.0, arviz=0.7.0 and theano=1.0.3
and the version of msmexplorer is 1.1.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants