analysiscenter / cardio

CardIO is a library for data science research of heart signals
https://analysiscenter.github.io/cardio/
Apache License 2.0
247 stars 78 forks source link

get error when import cardio in Anaconda python 3.6.3 #7

Closed tuhuynh closed 6 years ago

tuhuynh commented 6 years ago

import cardio Traceback (most recent call last): File "", line 1, in File "C:\Users\HTTU\Anaconda3\lib\site-packages\cardio__init.py", line 3, in from . import dataset # pylint: disable=wildcard-import File "C:\Users\HTTU\Anaconda3\lib\site-packages\cardio\dataset__init.py", line 4, in sys.modules[package__] = importlib.import_module('.dataset', package) File "C:\Users\HTTU\Anaconda3\lib\importlib\init.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "C:\Users\HTTU\Anaconda3\lib\site-packages\cardio\dataset\dataset\init.py", line 9, in from .batch import Batch, ArrayBatch, DataFrameBatch File "C:\Users\HTTU\Anaconda3\lib\site-packages\cardio\dataset\dataset\batch.py", line 21, in import dask.dataframe as dd File "C:\Users\HTTU\Anaconda3\lib\site-packages\dask\dataframe\init__.py", line 3, in from .core import (DataFrame, Series, Index, _Frame, map_partitions, File "C:\Users\HTTU\Anaconda3\lib\site-packages\dask\dataframe\core.py", line 40, in pd.core.computation.expressions.set_use_numexpr(False) AttributeError: module 'pandas.core.computation' has no attribute 'expressions'

roman-kh commented 6 years ago

It looks like you need to update dask package to a newer version as the installed one is incompatible with the installed version of pandas.

tuhuynh commented 6 years ago

Yeah,IT worked. Thanks roman-kh alot.