import TensorFlow: [WinError 126] The specified module could not be found
up vote
0
down vote
favorite
I would like to learn to use TensorFlow but, of course, I am not even able to install it!
These are the info about my case:
- Python 3.6 64-bit
- Intel(R) HD Graphics 520
- Intel i7
- Windows 7
- numpy 1.14.1
I have followed these steps:
- On cmd:
C:> pip3 install --upgrade tensorflow-gpu
- On Python:
import tensorflow
But I get the following error:
Traceback (most recent call last):
File "C:UsersVESAppDataLocalProgramsPythonPython36libsite-packagestensorflowpythonplatformself_check.py", line 62, in preload_check
ctypes.WinDLL(build_info.nvcuda_dll_name)
File "C:UsersVESAppDataLocalProgramsPythonPython36libctypes__init__.py", line 348, in __init__
self._handle = _dlopen(self._name, mode)
OSError: [WinError 126] The specified module could not be found
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<pyshell#0>", line 1, in <module>
import tensorflow
File "C:UsersVESAppDataLocalProgramsPythonPython36libsite-packagestensorflow__init__.py", line 24, in <module>
from tensorflow.python import *
File "C:UsersVESAppDataLocalProgramsPythonPython36libsite-packagestensorflowpython__init__.py", line 49, in <module>
from tensorflow.python import pywrap_tensorflow
File "C:UsersVESAppDataLocalProgramsPythonPython36libsite-packagestensorflowpythonpywrap_tensorflow.py", line 30, in <module>
self_check.preload_check()
File "C:UsersVESAppDataLocalProgramsPythonPython36libsite-packagestensorflowpythonplatformself_check.py", line 70, in preload_check
% build_info.nvcuda_dll_name)
ImportError: Could not find 'nvcuda.dll'. TensorFlow requires that this DLL be installed in a directory that is named in your %PATH% environment variable. Typically it is installed in 'C:WindowsSystem32'. If it is not present, ensure that you have a CUDA-capable GPU with the correct driver installed.
python tensorflow cuda
add a comment |
up vote
0
down vote
favorite
I would like to learn to use TensorFlow but, of course, I am not even able to install it!
These are the info about my case:
- Python 3.6 64-bit
- Intel(R) HD Graphics 520
- Intel i7
- Windows 7
- numpy 1.14.1
I have followed these steps:
- On cmd:
C:> pip3 install --upgrade tensorflow-gpu
- On Python:
import tensorflow
But I get the following error:
Traceback (most recent call last):
File "C:UsersVESAppDataLocalProgramsPythonPython36libsite-packagestensorflowpythonplatformself_check.py", line 62, in preload_check
ctypes.WinDLL(build_info.nvcuda_dll_name)
File "C:UsersVESAppDataLocalProgramsPythonPython36libctypes__init__.py", line 348, in __init__
self._handle = _dlopen(self._name, mode)
OSError: [WinError 126] The specified module could not be found
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<pyshell#0>", line 1, in <module>
import tensorflow
File "C:UsersVESAppDataLocalProgramsPythonPython36libsite-packagestensorflow__init__.py", line 24, in <module>
from tensorflow.python import *
File "C:UsersVESAppDataLocalProgramsPythonPython36libsite-packagestensorflowpython__init__.py", line 49, in <module>
from tensorflow.python import pywrap_tensorflow
File "C:UsersVESAppDataLocalProgramsPythonPython36libsite-packagestensorflowpythonpywrap_tensorflow.py", line 30, in <module>
self_check.preload_check()
File "C:UsersVESAppDataLocalProgramsPythonPython36libsite-packagestensorflowpythonplatformself_check.py", line 70, in preload_check
% build_info.nvcuda_dll_name)
ImportError: Could not find 'nvcuda.dll'. TensorFlow requires that this DLL be installed in a directory that is named in your %PATH% environment variable. Typically it is installed in 'C:WindowsSystem32'. If it is not present, ensure that you have a CUDA-capable GPU with the correct driver installed.
python tensorflow cuda
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I would like to learn to use TensorFlow but, of course, I am not even able to install it!
These are the info about my case:
- Python 3.6 64-bit
- Intel(R) HD Graphics 520
- Intel i7
- Windows 7
- numpy 1.14.1
I have followed these steps:
- On cmd:
C:> pip3 install --upgrade tensorflow-gpu
- On Python:
import tensorflow
But I get the following error:
Traceback (most recent call last):
File "C:UsersVESAppDataLocalProgramsPythonPython36libsite-packagestensorflowpythonplatformself_check.py", line 62, in preload_check
ctypes.WinDLL(build_info.nvcuda_dll_name)
File "C:UsersVESAppDataLocalProgramsPythonPython36libctypes__init__.py", line 348, in __init__
self._handle = _dlopen(self._name, mode)
OSError: [WinError 126] The specified module could not be found
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<pyshell#0>", line 1, in <module>
import tensorflow
File "C:UsersVESAppDataLocalProgramsPythonPython36libsite-packagestensorflow__init__.py", line 24, in <module>
from tensorflow.python import *
File "C:UsersVESAppDataLocalProgramsPythonPython36libsite-packagestensorflowpython__init__.py", line 49, in <module>
from tensorflow.python import pywrap_tensorflow
File "C:UsersVESAppDataLocalProgramsPythonPython36libsite-packagestensorflowpythonpywrap_tensorflow.py", line 30, in <module>
self_check.preload_check()
File "C:UsersVESAppDataLocalProgramsPythonPython36libsite-packagestensorflowpythonplatformself_check.py", line 70, in preload_check
% build_info.nvcuda_dll_name)
ImportError: Could not find 'nvcuda.dll'. TensorFlow requires that this DLL be installed in a directory that is named in your %PATH% environment variable. Typically it is installed in 'C:WindowsSystem32'. If it is not present, ensure that you have a CUDA-capable GPU with the correct driver installed.
python tensorflow cuda
I would like to learn to use TensorFlow but, of course, I am not even able to install it!
These are the info about my case:
- Python 3.6 64-bit
- Intel(R) HD Graphics 520
- Intel i7
- Windows 7
- numpy 1.14.1
I have followed these steps:
- On cmd:
C:> pip3 install --upgrade tensorflow-gpu
- On Python:
import tensorflow
But I get the following error:
Traceback (most recent call last):
File "C:UsersVESAppDataLocalProgramsPythonPython36libsite-packagestensorflowpythonplatformself_check.py", line 62, in preload_check
ctypes.WinDLL(build_info.nvcuda_dll_name)
File "C:UsersVESAppDataLocalProgramsPythonPython36libctypes__init__.py", line 348, in __init__
self._handle = _dlopen(self._name, mode)
OSError: [WinError 126] The specified module could not be found
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<pyshell#0>", line 1, in <module>
import tensorflow
File "C:UsersVESAppDataLocalProgramsPythonPython36libsite-packagestensorflow__init__.py", line 24, in <module>
from tensorflow.python import *
File "C:UsersVESAppDataLocalProgramsPythonPython36libsite-packagestensorflowpython__init__.py", line 49, in <module>
from tensorflow.python import pywrap_tensorflow
File "C:UsersVESAppDataLocalProgramsPythonPython36libsite-packagestensorflowpythonpywrap_tensorflow.py", line 30, in <module>
self_check.preload_check()
File "C:UsersVESAppDataLocalProgramsPythonPython36libsite-packagestensorflowpythonplatformself_check.py", line 70, in preload_check
% build_info.nvcuda_dll_name)
ImportError: Could not find 'nvcuda.dll'. TensorFlow requires that this DLL be installed in a directory that is named in your %PATH% environment variable. Typically it is installed in 'C:WindowsSystem32'. If it is not present, ensure that you have a CUDA-capable GPU with the correct driver installed.
python tensorflow cuda
python tensorflow cuda
edited Mar 14 at 10:55
Batsu
1,9201527
1,9201527
asked Mar 14 at 9:37
Stefano
11118
11118
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
up vote
2
down vote
accepted
To run tensorflow with GPU support you'll need a NVIDIA graphic card and the CUDA libraries installed (see requirements here), unfortunately your Intel(R) HD Graphics 520 won't do.
You can settle for the CPU version (pip3 install --upgrade tensorflow
), which is still good to start learning.
UPDATE: another solution is to use the online service Google Colab, which allows you to borrow a GPU from Google's cloud infrastructure for learning purposes.
man.. you have solved my sufferings! I have settled the CPU version and now it works. thanks!!
– Stefano
Mar 14 at 9:57
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
2
down vote
accepted
To run tensorflow with GPU support you'll need a NVIDIA graphic card and the CUDA libraries installed (see requirements here), unfortunately your Intel(R) HD Graphics 520 won't do.
You can settle for the CPU version (pip3 install --upgrade tensorflow
), which is still good to start learning.
UPDATE: another solution is to use the online service Google Colab, which allows you to borrow a GPU from Google's cloud infrastructure for learning purposes.
man.. you have solved my sufferings! I have settled the CPU version and now it works. thanks!!
– Stefano
Mar 14 at 9:57
add a comment |
up vote
2
down vote
accepted
To run tensorflow with GPU support you'll need a NVIDIA graphic card and the CUDA libraries installed (see requirements here), unfortunately your Intel(R) HD Graphics 520 won't do.
You can settle for the CPU version (pip3 install --upgrade tensorflow
), which is still good to start learning.
UPDATE: another solution is to use the online service Google Colab, which allows you to borrow a GPU from Google's cloud infrastructure for learning purposes.
man.. you have solved my sufferings! I have settled the CPU version and now it works. thanks!!
– Stefano
Mar 14 at 9:57
add a comment |
up vote
2
down vote
accepted
up vote
2
down vote
accepted
To run tensorflow with GPU support you'll need a NVIDIA graphic card and the CUDA libraries installed (see requirements here), unfortunately your Intel(R) HD Graphics 520 won't do.
You can settle for the CPU version (pip3 install --upgrade tensorflow
), which is still good to start learning.
UPDATE: another solution is to use the online service Google Colab, which allows you to borrow a GPU from Google's cloud infrastructure for learning purposes.
To run tensorflow with GPU support you'll need a NVIDIA graphic card and the CUDA libraries installed (see requirements here), unfortunately your Intel(R) HD Graphics 520 won't do.
You can settle for the CPU version (pip3 install --upgrade tensorflow
), which is still good to start learning.
UPDATE: another solution is to use the online service Google Colab, which allows you to borrow a GPU from Google's cloud infrastructure for learning purposes.
edited Nov 10 at 3:55
Pang
6,8301563101
6,8301563101
answered Mar 14 at 9:42
Batsu
1,9201527
1,9201527
man.. you have solved my sufferings! I have settled the CPU version and now it works. thanks!!
– Stefano
Mar 14 at 9:57
add a comment |
man.. you have solved my sufferings! I have settled the CPU version and now it works. thanks!!
– Stefano
Mar 14 at 9:57
man.. you have solved my sufferings! I have settled the CPU version and now it works. thanks!!
– Stefano
Mar 14 at 9:57
man.. you have solved my sufferings! I have settled the CPU version and now it works. thanks!!
– Stefano
Mar 14 at 9:57
add a comment |
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.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- 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%2f49274151%2fimport-tensorflow-winerror-126-the-specified-module-could-not-be-found%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