old-dask-examples
old-dask-examples copied to clipboard
No module named castra
Error during evaluation in binder or in notebook on desktop for the
- "Time Series and Dask DataFrame"
- "NYC Taxi 2013"
notebooks an error is encountered with the text that no module named castra was found.
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)
/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
On the NYC taxi notebook it occurs during the "Wrap with dask.dataframe" step
Error Follows
ImportError Traceback (most recent call last)
/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