old-dask-examples icon indicating copy to clipboard operation
old-dask-examples copied to clipboard

No module named castra

Open jonititan opened this issue 9 years ago • 2 comments

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.

jonititan avatar Aug 17 '16 12:08 jonititan

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 avatar Aug 17 '16 12:08 jonititan

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

jonititan avatar Aug 17 '16 13:08 jonititan