Advertisement
Guest User

Untitled

a guest
Oct 2nd, 2017
363
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.35 KB | None | 0 0
  1. Error compiling Cython file:
  2. ------------------------------------------------------------
  3. ...
  4.  
  5. For performance reasons, doesn't actually impose an ordering
  6. on unequal values (always returning 1).
  7. """
  8. if type(left) is not type(right):
  9. return cmp(type(left), type(right))
  10. ^
  11. ------------------------------------------------------------
  12.  
  13. apache_beam/utils/windowed_value.py:83:16: undeclared name not builtin: cmp
  14. Traceback (most recent call last):
  15. File "<string>", line 1, in <module>
  16. File "/private/tmp/pip-build-dg6i9xjw/apache-beam/setup.py", line 172, in <module>
  17. 'apache_beam/utils/windowed_value.py',
  18. File "/Users/hyuns003/anaconda/lib/python3.6/site-packages/Cython/Build/Dependencies.py", line 934, in cythonize
  19. cythonize_one(*args)
  20. File "/Users/hyuns003/anaconda/lib/python3.6/site-packages/Cython/Build/Dependencies.py", line 1056, in cythonize_one
  21. raise CompileError(None, pyx_file)
  22. Cython.Compiler.Errors.CompileError: apache_beam/utils/windowed_value.py
  23. Compiling apache_beam/coders/stream.pyx because it changed.
  24. Compiling apache_beam/runners/worker/statesampler.pyx because it changed.
  25. Compiling apache_beam/coders/coder_impl.py because it changed.
  26. Compiling apache_beam/metrics/execution.py because it changed.
  27. Compiling apache_beam/runners/common.py because it changed.
  28. Compiling apache_beam/runners/worker/logger.py because it changed.
  29. Compiling apache_beam/runners/worker/opcounters.py because it changed.
  30. Compiling apache_beam/runners/worker/operations.py because it changed.
  31. Compiling apache_beam/transforms/cy_combiners.py because it changed.
  32. Compiling apache_beam/utils/counters.py because it changed.
  33. Compiling apache_beam/utils/windowed_value.py because it changed.
  34. [ 1/11] Cythonizing apache_beam/coders/coder_impl.py
  35. [ 2/11] Cythonizing apache_beam/coders/stream.pyx
  36. [ 3/11] Cythonizing apache_beam/metrics/execution.py
  37. [ 4/11] Cythonizing apache_beam/runners/common.py
  38. [ 5/11] Cythonizing apache_beam/runners/worker/logger.py
  39. [ 6/11] Cythonizing apache_beam/runners/worker/opcounters.py
  40. [ 7/11] Cythonizing apache_beam/runners/worker/operations.py
  41. [ 8/11] Cythonizing apache_beam/runners/worker/statesampler.pyx
  42. [ 9/11] Cythonizing apache_beam/transforms/cy_combiners.py
  43. [10/11] Cythonizing apache_beam/utils/counters.py
  44. [11/11] Cythonizing apache_beam/utils/windowed_value.py
  45.  
  46. ----------------------------------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement