msmbuilder / msmexplorer

Data visualizations for biomolecular dynamics
http://msmbuilder.org/msmexplorer/
MIT License
17 stars 17 forks source link

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

Open hf1s opened 8 months ago

hf1s commented 8 months ago

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](https://vscode-remote+wsl-002bubuntu.vscode-resource.vscode-cdn.net/home/maoyoudong/tIC/~/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](https://vscode-remote+wsl-002bubuntu.vscode-resource.vscode-cdn.net/home/maoyoudong/tIC/~/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](https://vscode-remote+wsl-002bubuntu.vscode-resource.vscode-cdn.net/home/maoyoudong/tIC/~/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 commented 5 months ago

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

hf1s commented 5 months ago

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