gpt4 book ai didi

python - Tensorflow GPU - 导入错误 : Could not find 'nvcuda.dll'

转载 作者:行者123 更新时间:2023-12-04 01:36:40 26 4
gpt4 key购买 nike

ImportError: Could not find 'nvcuda.dll'. TensorFlow requires that this DLL be installed in a directory that is named in your %PATH% environment variable. Typically it is installed in 'C:\Windows\System32'. If it is not present, ensure that you have a CUDA-capable GPU with the correct driver installed.



请解决这个错误我正在做 FYP

最佳答案

首先,我的电脑没有Nvidia卡。所以我无法安装CUDA驱动程序。我下载了 nvcuda.dll并被执行

regsvr32  C:\Windows\System32\nvcuda.dll

指令,他们生火以编译所有注意到的 TensorFlow 代码

ImportError: Could not find 'nvcuda.dll'.



无论如何,请重新安装您的 TensorFlow:
pip uninstall protobuf 
pip uninstall tensorflow

进而
pip install protobuf 
pip install tensorflow

关于python - Tensorflow GPU - 导入错误 : Could not find 'nvcuda.dll' ,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/49397373/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com