Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-2805

[Python] TensorFlow import workaround not working with tensorflow-gpu if CUDA is not installed

    XMLWordPrintableJSON

Details

    Description

      TensorFlow version: 1.7 (GPU enabled but CUDA is not installed)

      tensorflow-gpu was installed via pip install

      ```

      import ray
      File "/home/eric/Desktop/ray-private/python/ray/_init_.py", line 28, in <module>
      import pyarrow # noqa: F401
      File "/home/eric/Desktop/ray-private/python/ray/pyarrow_files/pyarrow/_init_.py", line 55, in <module>
      compat.import_tensorflow_extension()
      File "/home/eric/Desktop/ray-private/python/ray/pyarrow_files/pyarrow/compat.py", line 193, in import_tensorflow_extension
      ctypes.CDLL(ext)
      File "/usr/lib/python3.5/ctypes/_init.py", line 347, in __init_
      self._handle = _dlopen(self._name, mode)
      OSError: libcublas.so.9.0: cannot open shared object file: No such file or directory

      ```

      Attachments

        Issue Links

          Activity

            People

              pcmoritz Philipp Moritz
              pcmoritz Philipp Moritz
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 0.5h
                  0.5h