Skip to content
This repository has been archived by the owner on Jan 29, 2023. It is now read-only.

ImportError: libcublas.so.10.0: cannot open shared object file #90

Closed
Sulring opened this issue Mar 16, 2019 · 2 comments
Closed

ImportError: libcublas.so.10.0: cannot open shared object file #90

Sulring opened this issue Mar 16, 2019 · 2 comments

Comments

@Sulring
Copy link

Sulring commented Mar 16, 2019

I was using the docker image with paperspace. It was working well a day or two ago, now it fails with an error:

Using TensorFlow backend.>    Default action when a path already exists:
Traceback (most recent call last):itch, (i)gnore, (w)ipe, (b)ackup, (a)bort). 109, in _base_init
  File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/pywrap_tensorflow.py", line 58, in <module>
    from tensorflow.python.pywrap_tensorflow_internal import *ensorflow_backend.py", line 74, in get_uid
  File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/pywrap_tensorflow_internal.py", line 28, in <module>
    _pywrap_tensorflow_internal = swig_import_helper()ficate, a single file
  File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/pywrap_tensorflow_internal.py", line 24, in swig_import_helper
    _mod = imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description)
  File "/usr/lib/python3.6/imp.py", line 243, in load_module
    return load_dynamic(name, filename, file)he.
  File "/usr/lib/python3.6/imp.py", line 343, in load_dynamic
    return _load(spec)        Don't periodically check PyPI to determine
ImportError: libcublas.so.10.0: cannot open shared object file: No such file or directory
                              download. Implied with --no-index.
During handling of the above exception, another exception occurred:
Job Stopped, exitCode 0
Traceback (most recent call last):
  File "job.py", line 16, in <module>
    import neural
  File "/paperspace/neural.py", line 1, in <module>
    from keras.models import Sequential
  File "/usr/local/lib/python3.6/dist-packages/keras/__init__.py", line 3, in <module>
    from . import utils
  File "/usr/local/lib/python3.6/dist-packages/keras/utils/__init__.py", line 6, in <module>
    from . import conv_utils
  File "/usr/local/lib/python3.6/dist-packages/keras/utils/conv_utils.py", line 9, in <module>
    from .. import backend as K
  File "/usr/local/lib/python3.6/dist-packages/keras/backend/__init__.py", line 89, in <module>
    from .tensorflow_backend import *
  File "/usr/local/lib/python3.6/dist-packages/keras/backend/tensorflow_backend.py", line 5, in <module>
    import tensorflow as tf
  File "/usr/local/lib/python3.6/dist-packages/tensorflow/__init__.py", line 24, in <module>
    from tensorflow.python import pywrap_tensorflow  # pylint: disable=unused-import
  File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/__init__.py", line 49, in <module>
    from tensorflow.python import pywrap_tensorflow
  File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/pywrap_tensorflow.py", line 74, in <module>
    raise ImportError(msg)
ImportError: Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/pywrap_tensorflow.py", line 58, in <module>
    from tensorflow.python.pywrap_tensorflow_internal import *
  File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/pywrap_tensorflow_internal.py", line 28, in <module>
    _pywrap_tensorflow_internal = swig_import_helper()
  File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/pywrap_tensorflow_internal.py", line 24, in swig_import_helper
    _mod = imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description)
  File "/usr/lib/python3.6/imp.py", line 243, in load_module
    return load_dynamic(name, filename, file)
  File "/usr/lib/python3.6/imp.py", line 343, in load_dynamic
    return _load(spec)
ImportError: libcublas.so.10.0: cannot open shared object file: No such file or directory


Failed to load the native TensorFlow runtime.

See https://www.tensorflow.org/install/errors

for some common reasons and solutions.  Include the entire stack trace
above this error message when asking for help.
@farshchian
Copy link

I'm having the same problem!

@shahril96
Copy link

shahril96 commented Mar 20, 2019

I just had this problem because I were installing keras-py36-cu90.

Solved this issue by installing keras without additional python and cuda tag:
docker pull ufoym/deepo:keras

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants