Tensorflow libcublas.so.9.0 error - CUDA Version 10.0
I cannot get around the problem regarding the configuration of tensorflow, here it is as follows:
(venv) home@home:~/Downloads/venv$ python models/research/object_detection/inputs_test.py
Traceback (most recent call last):
File "/home/home/Downloads/venv/lib/python3.5/site-packages/tensorflow/python/pywrap_tensorflow.py", line 58, in <module>
from tensorflow.python.pywrap_tensorflow_internal import *
File "/home/home/Downloads/venv/lib/python3.5/site-packages/tensorflow/python/pywrap_tensorflow_internal.py", line 28, in <module>
_pywrap_tensorflow_internal = swig_import_helper()
File "/home/home/Downloads/venv/lib/python3.5/site-packages/tensorflow/python/pywrap_tensorflow_internal.py", line 24, in swig_import_helper
_mod = imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description)
File "/home/home/Downloads/venv/lib/python3.5/imp.py", line 242, in load_module
return load_dynamic(name, filename, file)
File "/home/home/Downloads/venv/lib/python3.5/imp.py", line 342, in load_dynamic
return _load(spec)
**ImportError: libcublas.so.9.0: cannot open shared object file: No such file or directory**
~/.bashrc has been modified as follows (last lines of code):
export PATH=/usr/local/cuda-10.0/bin${PATH:+:${PATH}}
export LD_LIBRARY_PATH=/usr/local/cuda/lib64:${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}
and libraries tensorflow/models/research/ and slim directories have been appended to PYTHONPATH:
export PYTHONPATH=$PYTHONPATH:`pwd`:`pwd`/slim
Any idea?
tensorflow ubuntu-16.04
add a comment |
I cannot get around the problem regarding the configuration of tensorflow, here it is as follows:
(venv) home@home:~/Downloads/venv$ python models/research/object_detection/inputs_test.py
Traceback (most recent call last):
File "/home/home/Downloads/venv/lib/python3.5/site-packages/tensorflow/python/pywrap_tensorflow.py", line 58, in <module>
from tensorflow.python.pywrap_tensorflow_internal import *
File "/home/home/Downloads/venv/lib/python3.5/site-packages/tensorflow/python/pywrap_tensorflow_internal.py", line 28, in <module>
_pywrap_tensorflow_internal = swig_import_helper()
File "/home/home/Downloads/venv/lib/python3.5/site-packages/tensorflow/python/pywrap_tensorflow_internal.py", line 24, in swig_import_helper
_mod = imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description)
File "/home/home/Downloads/venv/lib/python3.5/imp.py", line 242, in load_module
return load_dynamic(name, filename, file)
File "/home/home/Downloads/venv/lib/python3.5/imp.py", line 342, in load_dynamic
return _load(spec)
**ImportError: libcublas.so.9.0: cannot open shared object file: No such file or directory**
~/.bashrc has been modified as follows (last lines of code):
export PATH=/usr/local/cuda-10.0/bin${PATH:+:${PATH}}
export LD_LIBRARY_PATH=/usr/local/cuda/lib64:${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}
and libraries tensorflow/models/research/ and slim directories have been appended to PYTHONPATH:
export PYTHONPATH=$PYTHONPATH:`pwd`:`pwd`/slim
Any idea?
tensorflow ubuntu-16.04
if you did a pip install tensorflow-gpu, then your using a version of tensorflow built for cuda9.0. If you want a version built with cuda 10.0, you'll need to build it yourself and find it from another location.
– William D. Irons
Nov 23 '18 at 0:59
Thank you for tipping me off. Unfortunately after installing cuda9.0, I get in trouble with the import error "ImportError: libcudnn.so.7: cannot open shared object file: No such file or directory". By running ./deviceQuery I understand that: "deviceQuery, CUDA Driver = CUDART, CUDA Driver Version = 10.0, CUDA Runtime Version = 9.0, NumDevs = 1 Result = PASS" my CUDA is still 10.0 but the runtime is 9.0. Any idea on how to change it?
– Eugenio
Nov 26 '18 at 18:53
The new error, "ImportError: libcudnn.so.7: cannot open shared object file: No such file or directory", can be resolved by installing cudnn and running ldconfig. Download it from developer.nvidia.com/cudnn. I think the cuda runtime version 9.0 is good.
– William D. Irons
Nov 27 '18 at 3:03
add a comment |
I cannot get around the problem regarding the configuration of tensorflow, here it is as follows:
(venv) home@home:~/Downloads/venv$ python models/research/object_detection/inputs_test.py
Traceback (most recent call last):
File "/home/home/Downloads/venv/lib/python3.5/site-packages/tensorflow/python/pywrap_tensorflow.py", line 58, in <module>
from tensorflow.python.pywrap_tensorflow_internal import *
File "/home/home/Downloads/venv/lib/python3.5/site-packages/tensorflow/python/pywrap_tensorflow_internal.py", line 28, in <module>
_pywrap_tensorflow_internal = swig_import_helper()
File "/home/home/Downloads/venv/lib/python3.5/site-packages/tensorflow/python/pywrap_tensorflow_internal.py", line 24, in swig_import_helper
_mod = imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description)
File "/home/home/Downloads/venv/lib/python3.5/imp.py", line 242, in load_module
return load_dynamic(name, filename, file)
File "/home/home/Downloads/venv/lib/python3.5/imp.py", line 342, in load_dynamic
return _load(spec)
**ImportError: libcublas.so.9.0: cannot open shared object file: No such file or directory**
~/.bashrc has been modified as follows (last lines of code):
export PATH=/usr/local/cuda-10.0/bin${PATH:+:${PATH}}
export LD_LIBRARY_PATH=/usr/local/cuda/lib64:${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}
and libraries tensorflow/models/research/ and slim directories have been appended to PYTHONPATH:
export PYTHONPATH=$PYTHONPATH:`pwd`:`pwd`/slim
Any idea?
tensorflow ubuntu-16.04
I cannot get around the problem regarding the configuration of tensorflow, here it is as follows:
(venv) home@home:~/Downloads/venv$ python models/research/object_detection/inputs_test.py
Traceback (most recent call last):
File "/home/home/Downloads/venv/lib/python3.5/site-packages/tensorflow/python/pywrap_tensorflow.py", line 58, in <module>
from tensorflow.python.pywrap_tensorflow_internal import *
File "/home/home/Downloads/venv/lib/python3.5/site-packages/tensorflow/python/pywrap_tensorflow_internal.py", line 28, in <module>
_pywrap_tensorflow_internal = swig_import_helper()
File "/home/home/Downloads/venv/lib/python3.5/site-packages/tensorflow/python/pywrap_tensorflow_internal.py", line 24, in swig_import_helper
_mod = imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description)
File "/home/home/Downloads/venv/lib/python3.5/imp.py", line 242, in load_module
return load_dynamic(name, filename, file)
File "/home/home/Downloads/venv/lib/python3.5/imp.py", line 342, in load_dynamic
return _load(spec)
**ImportError: libcublas.so.9.0: cannot open shared object file: No such file or directory**
~/.bashrc has been modified as follows (last lines of code):
export PATH=/usr/local/cuda-10.0/bin${PATH:+:${PATH}}
export LD_LIBRARY_PATH=/usr/local/cuda/lib64:${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}
and libraries tensorflow/models/research/ and slim directories have been appended to PYTHONPATH:
export PYTHONPATH=$PYTHONPATH:`pwd`:`pwd`/slim
Any idea?
tensorflow ubuntu-16.04
tensorflow ubuntu-16.04
asked Nov 22 '18 at 23:44
EugenioEugenio
159118
159118
if you did a pip install tensorflow-gpu, then your using a version of tensorflow built for cuda9.0. If you want a version built with cuda 10.0, you'll need to build it yourself and find it from another location.
– William D. Irons
Nov 23 '18 at 0:59
Thank you for tipping me off. Unfortunately after installing cuda9.0, I get in trouble with the import error "ImportError: libcudnn.so.7: cannot open shared object file: No such file or directory". By running ./deviceQuery I understand that: "deviceQuery, CUDA Driver = CUDART, CUDA Driver Version = 10.0, CUDA Runtime Version = 9.0, NumDevs = 1 Result = PASS" my CUDA is still 10.0 but the runtime is 9.0. Any idea on how to change it?
– Eugenio
Nov 26 '18 at 18:53
The new error, "ImportError: libcudnn.so.7: cannot open shared object file: No such file or directory", can be resolved by installing cudnn and running ldconfig. Download it from developer.nvidia.com/cudnn. I think the cuda runtime version 9.0 is good.
– William D. Irons
Nov 27 '18 at 3:03
add a comment |
if you did a pip install tensorflow-gpu, then your using a version of tensorflow built for cuda9.0. If you want a version built with cuda 10.0, you'll need to build it yourself and find it from another location.
– William D. Irons
Nov 23 '18 at 0:59
Thank you for tipping me off. Unfortunately after installing cuda9.0, I get in trouble with the import error "ImportError: libcudnn.so.7: cannot open shared object file: No such file or directory". By running ./deviceQuery I understand that: "deviceQuery, CUDA Driver = CUDART, CUDA Driver Version = 10.0, CUDA Runtime Version = 9.0, NumDevs = 1 Result = PASS" my CUDA is still 10.0 but the runtime is 9.0. Any idea on how to change it?
– Eugenio
Nov 26 '18 at 18:53
The new error, "ImportError: libcudnn.so.7: cannot open shared object file: No such file or directory", can be resolved by installing cudnn and running ldconfig. Download it from developer.nvidia.com/cudnn. I think the cuda runtime version 9.0 is good.
– William D. Irons
Nov 27 '18 at 3:03
if you did a pip install tensorflow-gpu, then your using a version of tensorflow built for cuda9.0. If you want a version built with cuda 10.0, you'll need to build it yourself and find it from another location.
– William D. Irons
Nov 23 '18 at 0:59
if you did a pip install tensorflow-gpu, then your using a version of tensorflow built for cuda9.0. If you want a version built with cuda 10.0, you'll need to build it yourself and find it from another location.
– William D. Irons
Nov 23 '18 at 0:59
Thank you for tipping me off. Unfortunately after installing cuda9.0, I get in trouble with the import error "ImportError: libcudnn.so.7: cannot open shared object file: No such file or directory". By running ./deviceQuery I understand that: "deviceQuery, CUDA Driver = CUDART, CUDA Driver Version = 10.0, CUDA Runtime Version = 9.0, NumDevs = 1 Result = PASS" my CUDA is still 10.0 but the runtime is 9.0. Any idea on how to change it?
– Eugenio
Nov 26 '18 at 18:53
Thank you for tipping me off. Unfortunately after installing cuda9.0, I get in trouble with the import error "ImportError: libcudnn.so.7: cannot open shared object file: No such file or directory". By running ./deviceQuery I understand that: "deviceQuery, CUDA Driver = CUDART, CUDA Driver Version = 10.0, CUDA Runtime Version = 9.0, NumDevs = 1 Result = PASS" my CUDA is still 10.0 but the runtime is 9.0. Any idea on how to change it?
– Eugenio
Nov 26 '18 at 18:53
The new error, "ImportError: libcudnn.so.7: cannot open shared object file: No such file or directory", can be resolved by installing cudnn and running ldconfig. Download it from developer.nvidia.com/cudnn. I think the cuda runtime version 9.0 is good.
– William D. Irons
Nov 27 '18 at 3:03
The new error, "ImportError: libcudnn.so.7: cannot open shared object file: No such file or directory", can be resolved by installing cudnn and running ldconfig. Download it from developer.nvidia.com/cudnn. I think the cuda runtime version 9.0 is good.
– William D. Irons
Nov 27 '18 at 3:03
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53439157%2ftensorflow-libcublas-so-9-0-error-cuda-version-10-0%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53439157%2ftensorflow-libcublas-so-9-0-error-cuda-version-10-0%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
if you did a pip install tensorflow-gpu, then your using a version of tensorflow built for cuda9.0. If you want a version built with cuda 10.0, you'll need to build it yourself and find it from another location.
– William D. Irons
Nov 23 '18 at 0:59
Thank you for tipping me off. Unfortunately after installing cuda9.0, I get in trouble with the import error "ImportError: libcudnn.so.7: cannot open shared object file: No such file or directory". By running ./deviceQuery I understand that: "deviceQuery, CUDA Driver = CUDART, CUDA Driver Version = 10.0, CUDA Runtime Version = 9.0, NumDevs = 1 Result = PASS" my CUDA is still 10.0 but the runtime is 9.0. Any idea on how to change it?
– Eugenio
Nov 26 '18 at 18:53
The new error, "ImportError: libcudnn.so.7: cannot open shared object file: No such file or directory", can be resolved by installing cudnn and running ldconfig. Download it from developer.nvidia.com/cudnn. I think the cuda runtime version 9.0 is good.
– William D. Irons
Nov 27 '18 at 3:03