Guest User

Untitled

a guest
Oct 16th, 2018
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.29 KB | None | 0 0
  1. PIPER-ALPHA:language_level[language_level_3]$ ./rebuild
  2. +++ dirname ./rebuild
  3. ++ cd .
  4. ++ pwd
  5. + : /tmp/language_level
  6. ++ dirname /tmp/language_level
  7. + : /tmp
  8. + rm -rf /tmp/language_level/build
  9. + rm -rf /tmp/language_level/mypackage/__pycache__/
  10. + rm -f /tmp/language_level/mypackage/mycymod.cpp
  11. + rm -f /tmp/language_level/mypackage/mycymod.cpython-37m-darwin.so
  12. + python /tmp/language_level/setup.py build_ext --inplace
  13. WARNING Pythran support disabled for module: omp
  14. import: module numpy found
  15. Warning: passing language='c++' to cythonize() is deprecated. Instead, put "# distutils: language=c++" in your .pyx or .pxd file(s)
  16. Compiling mypackage/mycymod.pyx because it changed.
  17. [1/1] Cythonizing mypackage/mycymod.pyx
  18.  
  19. Error compiling Cython file:
  20. ------------------------------------------------------------
  21. ...
  22. cimport cython
  23.  
  24. from libc.stdint cimport *
  25. from libcpp.string cimport string
  26.  
  27. from ext.halide.mycppwrappers cimport Outputs as HalOutputs
  28. ^
  29. ------------------------------------------------------------
  30.  
  31. mypackage/mycymod.pyx:11:0: 'ext/halide/mycppwrappers.pxd' not found
  32.  
  33. Error compiling Cython file:
  34. ------------------------------------------------------------
  35. ...
  36. cimport cython
  37.  
  38. from libc.stdint cimport *
  39. from libcpp.string cimport string
  40.  
  41. from ext.halide.mycppwrappers cimport Outputs as HalOutputs
  42. ^
  43. ------------------------------------------------------------
  44.  
  45. mypackage/mycymod.pyx:11:0: 'ext/halide/mycppwrappers/Outputs.pxd' not found
  46.  
  47. Error compiling Cython file:
  48. ------------------------------------------------------------
  49. ...
  50. @cython.freelist(32)
  51. cdef class Outputs:
  52. """ Cython wrapper class for Halide::Outputs """
  53.  
  54. cdef:
  55. HalOutputs __this__
  56. ^
  57. ------------------------------------------------------------
  58.  
  59. mypackage/mycymod.pyx:76:8: 'HalOutputs' is not a type identifier
  60. Traceback (most recent call last):
  61. File "/tmp/language_level/setup.py", line 98, in <module>
  62. embedsignature=True)
  63. File "/usr/local/lib/python3.7/site-packages/Cython/Build/Dependencies.py", line 1086, in cythonize
  64. cythonize_one(*args)
  65. File "/usr/local/lib/python3.7/site-packages/Cython/Build/Dependencies.py", line 1209, in cythonize_one
  66. raise CompileError(None, pyx_file)
  67. Cython.Compiler.Errors.CompileError: mypackage/mycymod.pyx
  68. + set +x
  69. PIPER-ALPHA:language_level[language_level_3 •]$
Add Comment
Please, Sign In to add comment