Error importing TensorFlow "ImportError: DLL load failed: The specified procedure could not be found."

Full Error:

Traceback (most recent call last): File "E:\Text Files\TensorFlowAim\tfa.py", line 1, in <module> import tensorflow as tf File "C:\Users\Smith\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\__init__.py", line 24, in <module> from tensorflow.python import pywrap_tensorflow # pylint: disable=unused-import File "C:\Users\Smith\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\__init__.py", line 59, in <module> from tensorflow.core.framework.graph_pb2 import * File "C:\Users\Smith\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\core\framework\graph_pb2.py", line 6, in <module> from google.protobuf import descriptor as _descriptor File "C:\Users\Smith\AppData\Local\Programs\Python\Python36\lib\site-packages\google\protobuf\descriptor.py", line 47, in <module> from google.protobuf.pyext import _message ImportError: DLL load failed: The specified procedure could not be found.

System Info:

  • Windows 10,
  • CUDA 9.0,
  • cuDNN 7.3.0,
  • Python 3.6.0,
  • Tensorflow-gpu 1.12.0
  • GTX 1080 8gb.

I've been trying to figure this out for 4 hours. Any help would be greatly appreciated. I've tried reinstalling tensorflow, different versions of python, and CUDA 10.0 instead of 9.0.