base环境中的TensorFlow版本为2.0,已经安装了cuda10.1。在虚拟环境tf1.4中,TensorFlow版本为1.4,import tensorflow as tf 报错显示
ImportError: Could not find 'cudart64_100.dll'. TensorFlow requires that this DLL be installed in a directory that is named in your %PATH% environment variable. Download and install CUDA 10.0 from this URL: https://developer.nvidia.com/cuda-90-download-archive
解决方法是:
在虚拟环境tf1.4中,运行
conda install cudatoolkit=10.0
[TensorFlow] windows同时安装cuda10.0和cuda10.1
最新推荐文章于 2021-08-01 16:00:42 发布

4025

被折叠的 条评论
为什么被折叠?



