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

get error when import cardio in Anaconda python 3.6.3 #7

Closed
tuhuynh opened this issue Jan 26, 2018 · 2 comments
Closed

get error when import cardio in Anaconda python 3.6.3 #7

tuhuynh opened this issue Jan 26, 2018 · 2 comments

Comments

@tuhuynh
Copy link

tuhuynh commented Jan 26, 2018

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'

@tuhuynh tuhuynh changed the title get error when import cardio in Anaconda get error when import cardio in Anaconda python 3.6.3 Jan 26, 2018
@roman-kh
Copy link
Member

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
Copy link
Author

tuhuynh commented Jan 26, 2018

Yeah,IT worked. Thanks roman-kh alot.

@tuhuynh tuhuynh closed this as completed Jan 26, 2018
alexanderkuvaev pushed a commit that referenced this issue Sep 4, 2018
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