[ 
https://issues.apache.org/jira/browse/ARROW-2805?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16535419#comment-16535419
 ] 

Wes McKinney commented on ARROW-2805:
-------------------------------------

In this case, you want it to fail silently?

> [Python] TensorFlow import workaround not working with tensorflow-gpu if CUDA 
> is not installed
> ----------------------------------------------------------------------------------------------
>
>                 Key: ARROW-2805
>                 URL: https://issues.apache.org/jira/browse/ARROW-2805
>             Project: Apache Arrow
>          Issue Type: Improvement
>          Components: Python
>            Reporter: Philipp Moritz
>            Priority: Major
>              Labels: tensorflow
>
> 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
> ```



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to