安装TensorFlow时遇到此错误。编辑:我安装了CUDA9.0,并更改了包括Path变量在内的环境变量,现在它可以工作了。在(tensorflow-gpu) C:\Users\Admin>python
Python 3.6.4 |Anaconda, Inc.| (default, Mar 9 2018, 07:43:39) [MSC v.1900 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import tensorflow as tf
Traceback (most recent call last):
File "C:\Users\Admin\AppData\Local\conda\conda\envs\tensorflow-gpu\lib\site-packages\tensorflow\python\platform\self_check.py", line 75, in preload_check
ctypes.WinDLL(build_info.cudart_dll_name)
File "C:\Users\Admin\AppData\Local\conda\conda\envs\tensorflow-gpu\lib\ctypes\__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,