Advertisement
Guest User

modulenode.py issue tensorflow

a guest
Nov 19th, 2018
133
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. hack to get tensorflow with cuda9.2 installed. cython file ModuleNode.py needs to edited.
  2. https://github.com/cython/cython/commit/c872937f6c8a784b06b274b8d280ebc5aa806bc4
  3.  
  4. === dfafsd ===
  5. https://bugs.python.org/issue32973
  6. https://github.com/cython/cython/issues/1953
  7.  
  8. hack to fix modulenode.py
  9. https://github.com/cython/cython/commit/c872937f6c8a784b06b274b8d280ebc5aa806bc4
  10.  
  11.  
  12. ImportError: numpy.core._multiarray_umath failed to import
  13. ImportError: numpy.core._multiarray_umath failed to import
  14. ImportError: numpy.core._multiarray_umath failed to import
  15. Traceback (most recent call last):
  16. File "<stdin>", line 1, in <module>
  17. File "/usr/local/lib/python3.6/dist-packages/tensorflow/__init__.py", line 29, in <module>
  18. child_package_str=('tensorflow_estimator.python.estimator.api.estimator'))
  19. File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/tools/component_api_helper.py", line 56, in package_hook
  20. child_pkg = importlib.import_module(child_package_str)
  21. File "/usr/lib/python3.6/importlib/__init__.py", line 126, in import_module
  22. return _bootstrap._gcd_import(name[level:], package, level)
  23. File "/usr/local/lib/python3.6/dist-packages/tensorflow_estimator/python/estimator/__init__.py", line 25, in <module>
  24. import tensorflow_estimator.python.estimator.estimator_lib
  25. File "/usr/local/lib/python3.6/dist-packages/tensorflow_estimator/python/estimator/estimator_lib.py", line 41, in <module>
  26. from tensorflow_estimator.python.estimator.inputs import inputs
  27. File "/usr/local/lib/python3.6/dist-packages/tensorflow_estimator/python/estimator/inputs/inputs.py", line 22, in <module>
  28. from tensorflow_estimator.python.estimator.inputs.numpy_io import numpy_input_fn
  29. File "/usr/local/lib/python3.6/dist-packages/tensorflow_estimator/python/estimator/inputs/numpy_io.py", line 26, in <module>
  30. from tensorflow_estimator.python.estimator.inputs.queues import feeding_functions
  31. File "/usr/local/lib/python3.6/dist-packages/tensorflow_estimator/python/estimator/inputs/queues/feeding_functions.py", line 40, in <module>
  32. import pandas as pd
  33. File "/usr/local/lib/python3.6/dist-packages/pandas-0.24.0.dev0+961.gefd1844da-py3.6-linux-x86_64.egg/pandas/__init__.py", line 26, in <module>
  34. from pandas._libs import (hashtable as _hashtable,
  35. File "/usr/local/lib/python3.6/dist-packages/pandas-0.24.0.dev0+961.gefd1844da-py3.6-linux-x86_64.egg/pandas/_libs/__init__.py", line 4, in <module>
  36. from .tslibs import (
  37. File "/usr/local/lib/python3.6/dist-packages/pandas-0.24.0.dev0+961.gefd1844da-py3.6-linux-x86_64.egg/pandas/_libs/tslibs/__init__.py", line 4, in <module>
  38. from .conversion import normalize_date, localize_pydatetime, tz_convert_single
  39. File "pandas/_libs/tslibs/conversion.pyx", line 224, in init pandas._libs.tslibs.conversion
  40. AttributeError: type object 'pandas._libs.tslibs.conversion._TSObject' has no attribute '__reduce_cython__'
  41. >>> import tensorflow
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement