New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error in importing tensorflow #22823
Comments
Thank you for your post. We noticed you have not filled out the following field in the issue template. Could you update them if they are relevant in your case, or leave them as N/A? Thanks. |
Updated as requested. |
I suspect you are using incorrect cuDNN version for Windows compatibility. Can you please try with cuDNN 7.1.4. |
I still got the same error. But, reading the test bat it raised me one question, am I missing any env path? Is there any list about the environment variables I should have? Thanks. |
There are two potential issues. |
My current CPU supports AVX (I7 7700HQ), and tensorflow on CPU installs and runs fine. By reading https://www.tensorflow.org/install/gpu, the "Windows Setup" part defined the path as v9.0, but mine is v9.1. Thanks. |
Yes, tensorflow prebuilt libraries require CUDA 9.0 to run. |
It worked! I guess I'll have no more trouble in using tensorflow. Thanks for all support and help, |
Hi, please help me, I am getting this - same as person above. I think I did whole instalation properly, I tried it for 3 times but it always result in same error. I am using Python 3.7.2, anaconda, tensorflow-gpu 1.13.1, CUDA 10.1, cuDNN 7.5. |
Use cuda version 9 and cudnn 6.4.7
…On Fri, Mar 22, 2019, 5:10 AM RostyxCZ ***@***.***> wrote:
Hi, please help me, I am getting this - same as person above. I think I
did whole instalation properly, I tried it for 3 times but it always result
in same error. I am using Python 3.7.2, anaconda, tensorflow-gpu 1.13.1,
CUDA 10.1, cuDNN 7.5.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#22823 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AV5Np4Y64yC7e3xb54qrmwte76o-h7-Rks5vZBhcgaJpZM4XPLjC>
.
|
If required downgrade your python to 3.6 and tensorflow-gpu to 1.12 or
lesser.
…On Fri, Mar 22, 2019, 8:07 AM Gargi Srivastava ***@***.***> wrote:
Use cuda version 9 and cudnn 6.4.7
On Fri, Mar 22, 2019, 5:10 AM RostyxCZ ***@***.***> wrote:
> Hi, please help me, I am getting this - same as person above. I think I
> did whole instalation properly, I tried it for 3 times but it always result
> in same error. I am using Python 3.7.2, anaconda, tensorflow-gpu 1.13.1,
> CUDA 10.1, cuDNN 7.5.
>
> —
> You are receiving this because you commented.
> Reply to this email directly, view it on GitHub
> <#22823 (comment)>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/AV5Np4Y64yC7e3xb54qrmwte76o-h7-Rks5vZBhcgaJpZM4XPLjC>
> .
>
|
[SOLVED] Okay, so my problem is solved. Actually successfuly running on : Thanks alot for your help and this tread in general 💯 |
anybody can help me C:\Users\bonix\Anaconda3\envs\tensor\pythonw.exe C:/Users/bonix/PycharmProjects/TensorPye/testing.py During handling of the above exception, another exception occurred: Traceback (most recent call last): 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 Process finished with exit code 1 |
@Bocul16 try using CUDA 9.0 |
System information
Describe the problem
Error while importing tensorflow.
I have successfully installed via pip, but while I'm trying to import I get the log listed error.
Unfortunately, the error dosen't describe which DLL is missing, and all tickets I've seen doesn't solved my problem.
Source code / logs
Python 3.6.0 (v3.6.0:41df79263a11, Dec 23 2016, 08:06:12) [MSC v.1900 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "", line 1, in
File "D:\Program Files\Python36\lib\site-packages\tensorflow_init_.py", line 24, in
from tensorflow.python import pywrap_tensorflow # pylint: disable=unused-import
File "D:\Program Files\Python36\lib\site-packages\tensorflow\python_init_.py", line 49, in
from tensorflow.python import pywrap_tensorflow
File "D:\Program Files\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 74, in
raise ImportError(msg)
ImportError: Traceback (most recent call last):
File "D:\Program Files\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 58, in
from tensorflow.python.pywrap_tensorflow_internal import *
File "D:\Program Files\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 28, in
_pywrap_tensorflow_internal = swig_import_helper()
File "D:\Program Files\Python36\lib\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 "D:\Program Files\Python36\lib\imp.py", line 242, in load_module
return load_dynamic(name, filename, file)
File "D:\Program Files\Python36\lib\imp.py", line 342, in load_dynamic
return _load(spec)
ImportError: DLL load failed: The specified module could not be found.
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.
The text was updated successfully, but these errors were encountered: