Recently installing TensorFlow-GPU on a service has been experiencing the following error:
ImporError: libcublas.so.10.0: Cannot open shared object file: No such file or directory
iled to load the native TensorFlow Runtime.
I>Error: libcublas.so. Different TensorFlow-GPU versions correspond to different CUDA and CUDNN versions. How do I view CUDA and CUDNN versions?
DA 8.0→ CUDNN V6.0/CUDA 8.0→ CUDNN V6.0/CUDA 9.0→ CUDNN V7.0.5
T>rFlow 1.6/1.5 CUDA 9.0 and 1.3/1.3 CUDA 8.0.
TensorFlow 1.6/1.5 CUDA 9.0
As a result, specify TensorFlow – GPU version to reinstall (Note: you don’t need to install TF before uninstalling it, you can PIP directly because it will automatically detect the installed TF and uninstall it).
pip install tensorflow-gpu==1.5
Note: it is best to use mirror image such as Tsinghua mirror, the speed difference is not a little bit.
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple some-package
You can test it once it’s installed
import tensorflow as tf
sess = tf.Session(config=tf.ConfigProto(log_device_placement=True))
Displaying large section of relevant information indicates successful installation!
Read More:
- Failed to load the native TensorFlow runtime.
- Solution: Failed to load the native TensorFlow runtime.
- Problem solving: importerror: libcublas.so .9.0: cannot open shared object file: No such file
- CONDA 3090 install tenslow GPU report error importerror: libcublas.so .9.0: cannot open shared object file
- Record a problem of no module named ‘tensorflow. Examples’ and’ tensorflow. Examples. Tutorials’ in tensorflow 2.0
- Importerror using tensorflow: DLL load failed: the specified program cannot be found
- After tensorflow installation, an error occurred while importing: importerror: DLL load failed: the specified module could not be found
- Using pip to install tensorflow: tensorflow — is not a supported wheel on this platform
- Problem solving module ‘ tensorflow.compat . V2 ‘has no attribute’ contrib ‘and importerror cannot import name’ auto ‘
- Resolve – keyerror encountered while installing tensorflow GPU: ‘tensorflow’ error
- Tensorflow UnknownError (see above for traceback): Failed to get convolution algorithm. This is pro
- Tensorflow error: module ‘tensorflow’ has no attribute ‘xxx’
- Tensorflow operation report error modulenotfounderror: no module named ‘tensorflow. Python. Types’ solution
- Tensorflow import error: DLL load failed: the specified module could not be found
- Solve the problem of using in tensoft 2. X tf.contrib.slim No module named appears in the package: tensorflow.contrib problem
- tensorflow.python.framework.errors_impl.InternalError: Failed to create session.
- Tensorflow error in Windows: failed call to cuinit: CUDA_ ERROR_ UNKNOWN
- Tensorflow error: attributeerror: module ‘tensorflow’ has no attribute ‘unpack’ (‘pack ‘)
- tensorflow import error: DLL load failed: The specified module could not be found (DLL load failed: The specified module could not be found)
- Tensorflow training could not create cudnn handle: CUDNN_STATUS_INTERNAL_ERROR error