-
Notifications
You must be signed in to change notification settings - Fork 74.4k
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
tensor flow does not install on windows 10 #20266
Comments
A bit of a shot in the dark since I don't see the same code from your stack-trace in the current state of the repo but since you ask for pointers, here goes:
Brace yourself for somewhat verbose output (remember to unset this after you've solved your issue) but you should see which dlls are being loaded and from where. You'll probably see one trying to load from each directory in your path and failing right before the stack-trace. Additionally, once you've found a couple of suspect dlls, you can use dependency walker show information regarding the dlls that they will try to load. Dependency walke has a 32b and 64b version, they don't see all dlls equally, so you might need to use both. |
Nagging Assignee @tatianashp: It has been 15 days with no activity and this issue has an assignee. Please update the label and/or status accordingly. |
Thank you. |
Finally tried this out. |
If you are running on an older processor that has no support for AVX instructions it might be the same issue as discussed #19584. |
Thanks. |
Windows 10, TensorFlow 1.8.1, NVIDIA 1060
Was working. Had to resinstall OS. Now I always get error below with
CUDA 8.0, CUDA 9.0, CUDA 9.2, Visual Studio 2015, Visual Studio 2017 (have tried everything I can think of). Any pointers for how to diagnose/solve?
(tensorflow) v:\deeplearning>python -W ignore test.py
Traceback (most recent call last):
File "C:\Users\jdm\Anaconda3\envs\tensorflow\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 58, in
from tensorflow.python.pywrap_tensorflow_internal import *
File "C:\Users\jdm\Anaconda3\envs\tensorflow\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 18, in
pywrap_tensorflow_internal = swig_import_helper()
File "C:\Users\jdm\Anaconda3\envs\tensorflow\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 17, in swig_import_helper
return importlib.import_module(mname)
File "C:\Users\jdm\Anaconda3\envs\tensorflow\lib\importlib_init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
ImportError: DLL load failed: A dynamic link library (DLL) initialization routine failed.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "test.py", line 1, in
import tensorflow as tf
File "C:\Users\jdm\Anaconda3\envs\tensorflow\lib\site-packages\tensorflow_init_.py", line 24, in
from tensorflow.python import pywrap_tensorflow # pylint: disable=unused-import
File "C:\Users\jdm\Anaconda3\envs\tensorflow\lib\site-packages\tensorflow\python_init_.py", line 49, in
from tensorflow.python import pywrap_tensorflow
File "C:\Users\jdm\Anaconda3\envs\tensorflow\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 74, in
raise ImportError(msg)
ImportError: Traceback (most recent call last):
File "C:\Users\jdm\Anaconda3\envs\tensorflow\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 58, in
from tensorflow.python.pywrap_tensorflow_internal import *
File "C:\Users\jdm\Anaconda3\envs\tensorflow\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 18, in
pywrap_tensorflow_internal = swig_import_helper()
File "C:\Users\jdm\Anaconda3\envs\tensorflow\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 17, in swig_import_helper
return importlib.import_module(mname)
File "C:\Users\jdm\Anaconda3\envs\tensorflow\lib\importlib_init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
ImportError: DLL load failed: A dynamic link library (DLL) initialization routine failed.
Failed to load the native TensorFlow runtime.
See https://www.tensorflow.org/install/install_sources#common_installation_problems
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: