Advertisement
Guest User

dask build error2

a guest
Apr 1st, 2016
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.53 KB | None | 0 0
  1. ==> Starting check()...
  2. ================================================ test session starts =================================================
  3. platform linux -- Python 3.5.1, pytest-2.9.1, py-1.4.31, pluggy-0.3.1
  4. rootdir: /tmp/pacaurtmp-to266/python-dask/src/dask-0.8.1, inifile:
  5. collected 868 items / 4 skipped
  6.  
  7. dask/array/tests/test_array_core.py ...................................................................................................................s.............
  8. dask/array/tests/test_chunk.py .....
  9. dask/array/tests/test_creation.py ....xx
  10. dask/array/tests/test_ghost.py ................x..
  11. dask/array/tests/test_linalg.py ......................................
  12. dask/array/tests/test_optimization.py ......
  13. dask/array/tests/test_percentiles.py ..
  14. dask/array/tests/test_random.py ..............
  15. dask/array/tests/test_rechunk.py .................
  16. dask/array/tests/test_reductions.py ..................
  17. dask/array/tests/test_slicing.py ........................
  18. dask/array/tests/test_wrap.py .......
  19. dask/bag/tests/test_bag.py ..................................s.......s.................................
  20. dask/dataframe/tests/test_arithmetics_reduction.py ...........
  21. dask/dataframe/tests/test_categorical.py ....
  22. dask/dataframe/tests/test_dataframe.py .........................................................................F........................
  23. dask/dataframe/tests/test_demo.py ..
  24. dask/dataframe/tests/test_groupby.py ...........
  25. dask/dataframe/tests/test_io.py ................................sssss.x..........s.......s....F
  26. dask/dataframe/tests/test_multi.py ...........................
  27. dask/dataframe/tests/test_optimize_dataframe.py ..
  28. dask/dataframe/tests/test_rolling.py ....
  29. dask/dataframe/tests/test_shuffle.py .....
  30. dask/dataframe/tests/test_utils_dataframe.py .
  31. dask/dataframe/tseries/tests/test_resample.py .........................................................................................................................
  32. dask/diagnostics/tests/test_profiler.py .....ssssssss
  33. dask/diagnostics/tests/test_progress.py ......s..
  34. dask/store/tests/test_store.py ..
  35. dask/tests/test_async.py ..............
  36. dask/tests/test_base.py ....................s
  37. dask/tests/test_context.py ..
  38. dask/tests/test_core.py ....................
  39. dask/tests/test_imperative.py .............x.........
  40. dask/tests/test_multiprocessing.py .......
  41. dask/tests/test_optimize.py ...................
  42. dask/tests/test_order.py .......
  43. dask/tests/test_rewrite.py ........
  44. dask/tests/test_threaded.py .....
  45. dask/tests/test_utils.py ........
  46.  
  47. ====================================================== FAILURES ======================================================
  48. _____________________________________________________ test_query _____________________________________________________
  49.  
  50. def test_query():
  51. df = pd.DataFrame({'x': [1, 2, 3, 4], 'y': [5, 6, 7, 8]})
  52. a = dd.from_pandas(df, npartitions=2)
  53. > q = a.query('x**2 > y')
  54.  
  55. dask/dataframe/tests/test_dataframe.py:1280:
  56. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  57. dask/dataframe/core.py:1467: in query
  58. dummy = self._pd.query(expr, **kwargs)
  59. /usr/lib/python3.5/site-packages/pandas/core/frame.py:2140: in query
  60. res = self.eval(expr, **kwargs)
  61. /usr/lib/python3.5/site-packages/pandas/core/frame.py:2209: in eval
  62. return _eval(expr, inplace=inplace, **kwargs)
  63. /usr/lib/python3.5/site-packages/pandas/computation/eval.py:233: in eval
  64. _check_engine(engine)
  65. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  66.  
  67. engine = 'numexpr'
  68.  
  69. def _check_engine(engine):
  70. """Make sure a valid engine is passed.
  71.  
  72. Parameters
  73. ----------
  74. engine : str
  75.  
  76. Raises
  77. ------
  78. KeyError
  79. * If an invalid engine is passed
  80. ImportError
  81. * If numexpr was requested but doesn't exist
  82. """
  83. if engine not in _engines:
  84. raise KeyError('Invalid engine {0!r} passed, valid engines are'
  85. ' {1}'.format(engine, list(_engines.keys())))
  86.  
  87. # TODO: validate this in a more general way (thinking of future engines
  88. # that won't necessarily be import-able)
  89. # Could potentially be done on engine instantiation
  90. if engine == 'numexpr':
  91. if not _NUMEXPR_INSTALLED:
  92. > raise ImportError("'numexpr' is not installed or an "
  93. "unsupported version. Cannot use "
  94. "engine='numexpr' for query/eval "
  95. "if 'numexpr' is not installed")
  96. E ImportError: 'numexpr' is not installed or an unsupported version. Cannot use engine='numexpr' for query/eval if 'numexpr' is not installed
  97.  
  98. /usr/lib/python3.5/site-packages/pandas/computation/eval.py:39: ImportError
  99. _________________________________________________ test_to_hdf_kwargs _________________________________________________
  100.  
  101. def test_to_hdf_kwargs():
  102. df = pd.DataFrame({'A': ['a', 'aaaa']})
  103. ddf = dd.from_pandas(df, npartitions=2)
  104. > ddf.to_hdf('tst.h5', 'foo4', format='table', min_itemsize=4)
  105.  
  106. dask/dataframe/tests/test_io.py:1028:
  107. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  108. dask/dataframe/core.py:532: in to_hdf
  109. fletcher32, get=get, **kwargs)
  110. dask/dataframe/io.py:655: in to_hdf
  111. get=get, **dask_kwargs)
  112. dask/base.py:43: in _get
  113. return get(dsk2, keys, **kwargs)
  114. dask/async.py:516: in get_sync
  115. raise_on_exception=True, **kwargs)
  116. dask/async.py:462: in get_async
  117. fire_task()
  118. dask/async.py:458: in fire_task
  119. get_id, raise_on_exception])
  120. dask/async.py:508: in apply_sync
  121. return func(*args, **kwds)
  122. dask/async.py:264: in execute_task
  123. result = _execute_task(task, data)
  124. dask/async.py:245: in _execute_task
  125. args2 = [_execute_task(a, cache) for a in args]
  126. dask/async.py:245: in <listcomp>
  127. args2 = [_execute_task(a, cache) for a in args]
  128. dask/async.py:246: in _execute_task
  129. return func(*args2)
  130. dask/compatibility.py:26: in apply
  131. return func(*args, **kwargs)
  132. /usr/lib/python3.5/site-packages/pandas/core/generic.py:1096: in to_hdf
  133. return pytables.to_hdf(path_or_buf, key, self, **kwargs)
  134. /usr/lib/python3.5/site-packages/pandas/io/pytables.py:259: in to_hdf
  135. complib=complib) as store:
  136. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  137.  
  138. self = <[RecursionError("maximum recursion depth exceeded") raised in repr()] HDFStore object at 0x7f1d044b8470>
  139. path = 'tst.h5', mode = 'a', complevel = 0, complib = None, fletcher32 = False, kwargs = {}
  140.  
  141. def __init__(self, path, mode=None, complevel=None, complib=None,
  142. fletcher32=False, **kwargs):
  143. try:
  144. import tables # noqa
  145. except ImportError as ex: # pragma: no cover
  146. raise ImportError('HDFStore requires PyTables, "{ex}" problem '
  147. > 'importing'.format(ex=str(ex)))
  148. E ImportError: HDFStore requires PyTables, "No module named 'tables'" problem importing
  149.  
  150. /usr/lib/python3.5/site-packages/pandas/io/pytables.py:389: ImportError
  151. =========================== 2 failed, 841 passed, 24 skipped, 5 xfailed in 141.72 seconds ============================
  152. Exception ignored in: ==> ERROR: A failure occurred in check().
  153. Aborting...
  154. :: failed to build python-dask package(s)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement