实际上,我对收到“ ImportError:DLL加载失败”感到厌倦。 在
答案 0 :(得分:1)
目前TensorFlow for GPU在Windows 10上不支持Python 3.7。
有关软件包的列表,请参见https://www.tensorflow.org/install/pip?lang=python3底部的“软件包位置”
其中列出了适用于Windows的以下内容:
仅Python 3.5 CPU https://storage.googleapis.com/tensorflow/windows/cpu/tensorflow-2.0.0-cp35-cp35m-win_amd64.whl
Python 3.5 GPU支持https://storage.googleapis.com/tensorflow/windows/gpu/tensorflow_gpu-2.0.0-cp35-cp35m-win_amd64.whl
仅Python 3.6 CPU https://storage.googleapis.com/tensorflow/windows/cpu/tensorflow-2.0.0-cp36-cp36m-win_amd64.whl
Python 3.6 GPU支持 https://storage.googleapis.com/tensorflow/windows/gpu/tensorflow_gpu-2.0.0-cp36-cp36m-win_amd64.whl
答案 1 :(得分:0)
我正在使用Windows 10(64位),并且在项目中使用了这些版本,它们可以协同工作:
python:3.7.4
tensorflow-gpu: 1.15
cuda:10.0
cudnn:7.6.5.32
numpy:1.17.4