سلام
من مراحل نصب تنسورفلو رو gpu رو از سایت تنسور فلو رفتم، دو سایت دیگه هم مطالبی داشتند از اونها هم استفاده کردم...ام در نهایت همه به یه مشکل برخوردم و وقتی دستور
import tensorflow as tf
رو اجرا کنم خطای زیر رو میده ضمنا کودا 9 رو با تنسور فلو 1/9 رو نصب کردم
ImportError Traceback (most recent call last)
c:\programdata\anaconda3\envs\tensorflow-gpu\lib\site-packages\tensorflow\python\pywrap_tensorflow.py in ()
57
---> 58 from tensorflow.python.pywrap_tensorflow_internal import *
59 from tensorflow.python.pywrap_tensorflow_internal import __version__
c:\programdata\anaconda3\envs\tensorflow-gpu\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py in ()
17 return importlib.import_module(mname)
---> 18 _pywrap_tensorflow_internal = swig_import_helper()
19 del swig_import_helper
c:\programdata\anaconda3\envs\tensorflow-gpu\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py in swig_import_helper()
16 mname = '.'.join((pkg, '_pywrap_tensorflow_internal')).lstrip('.')
---> 17 return importlib.import_module(mname)
18 _pywrap_tensorflow_internal = swig_import_helper()
c:\programdata\anaconda3\envs\tensorflow-gpu\lib\importlib__init__.py in import_module(name, package)
125 level += 1
--> 126 return _bootstrap._gcd_import(name[level:], package, level)
127
ImportError: DLL load failed with error code -1073741795
During handling of the above exception, another exception occurred:
ImportError Traceback (most recent call last)
<ipython-input-1-64156d691fe5> in ()
----> 1 import tensorflow as tf
c:\programdata\anaconda3\envs\tensorflow-gpu\lib\site-packages\tensorflow__init__.py in ()
20
21 # pylint: disable=g-bad-import-order
---> 22 from tensorflow.python import pywrap_tensorflow # pylint: disable=unused-import
23 from . import app
24 from . import bitwise
c:\programdata\anaconda3\envs\tensorflow-gpu\lib\site-packages\tensorflow\python__init__.py in ()
47 import numpy as np
48
---> 49 from tensorflow.python import pywrap_tensorflow
50
51 # Protocol buffers
c:\programdata\anaconda3\envs\tensorflow-gpu\lib\site-packages\tensorflow\python\pywrap_tensorflow.py in ()
72 for some common reasons and solutions. Include the entire stack trace
73 above this error message when asking for help.""" % traceback.format_exc()
---> 74 raise ImportError(msg)
75
76 # pylint: enable=wildcard-import,g-import-not-at-top,unused-import,line-too-long
ImportError: Traceback (most recent call last):
File "c:\programdata\anaconda3\envs\tensorflow-gpu\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 58, in
from tensorflow.python.pywrap_tensorflow_internal import *
File "c:\programdata\anaconda3\envs\tensorflow-gpu\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 18, in
_pywrap_tensorflow_internal = swig_import_helper()
File "c:\programdata\anaconda3\envs\tensorflow-gpu\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 17, in swig_import_helper
return importlib.import_module(mname)
File "c:\programdata\anaconda3\envs\tensorflow-gpu\lib\importlib__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
ImportError: DLL load failed with error code -1073741795
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.