dask / old-dask-examples

Collection of dask example notebooks
57 stars 22 forks source link

No module named castra #15

Open jonititan opened 7 years ago

jonititan commented 7 years ago

Error during evaluation in binder or in notebook on desktop for the

notebooks an error is encountered with the text that no module named castra was found.

jonititan commented 7 years ago

On the "Time Series and Dask DataFrame" notebook the error is encountered while running the "Base Data on Disk" step.

Error follows

ImportError Traceback (most recent call last)

in () ----> 1 c = df.to_castra() 2 df = c.to_dask() /home/main/anaconda2/lib/python2.7/site-packages/dask/dataframe/core.pyc in to_castra(self, fn, categories, sorted_index_column, compute, get) 1488 from .io import to_castra 1489 return to_castra(self, fn, categories, sorted_index_column, -> 1490 compute=compute, get=get) 1491 1492 def to_bag(self, index=False): /home/main/anaconda2/lib/python2.7/site-packages/dask/dataframe/io.pyc in to_castra(df, fn, categories, sorted_index_column, compute, get) 799 Castra.to_dask 800 """ --> 801 from castra import Castra 802 if isinstance(categories, list): 803 categories = (list, categories) ImportError: No module named castra
jonititan commented 7 years ago

On the NYC taxi notebook it occurs during the "Wrap with dask.dataframe" step

Error Follows


ImportError Traceback (most recent call last)

in () 1 import dask.dataframe as dd ----> 2 df = dd.from_castra('tripdata.castra/') 3 df.head() /home/main/anaconda2/lib/python2.7/site-packages/dask/dataframe/io.pyc in from_castra(x, columns) 610 The columns to load. Default is all columns. 611 """ --> 612 from castra import Castra 613 if not isinstance(x, Castra): 614 x = Castra(x, readonly=True) ImportError: No module named castra