简体   繁体   English

在Anaconda中安装tensorflow-gpu,CUDA计算能力低于3.0

[英]Install tensorflow-gpu in Anaconda with CUDA Compute Capability less than 3.0

I have been trying to install tensorflow-gpu in Anaconda on Windows 10 with a graphics card that has Compute Compatibility 2.1. 我一直在尝试使用具有Compute Compatibility 2.1的图形卡在Windows 10的Anaconda中安装tensorflow-gpu。 I keep getting the error below. 我不断收到以下错误。 Screenshot of issue 问题截图

pip install tensorflow-gpu works well but then I cannot import the library or create a tensorflow environment. pip install tensorflow-gpu效果很好,但是我无法导入该库或创建一个tensorflow环境。 Is there a workaround for this? 有没有解决方法? Even if I get tensorflow-gpu installed, will I be able to run my model on the GPU without having Compute Compatibility 3.0? 即使安装了tensorflow-gpu,我是否也可以在没有Compute Compatibility 3.0的情况下在GPU上运行我的模型?

Unfortunately you won't be able to run any model on your GPU as Compute Compatility 3.0 is required (see here ). 不幸的是,由于需要Compute Compatility 3.0,因此您将无法在GPU上运行任何模型(请参阅此处 )。

Your first attempt showed that you were missing some packages (numpy for instance). 您的第一次尝试表明您缺少某些软件包(例如numpy)。 If you installed tensorflow-gpu with pip and you can't import the library that means that your python interpreter does not see the path where pip installs your packages. 如果您使用pip安装了tensorflow-gpu并且无法导入该库,则意味着您的python解释器看不到pip安装软件包的路径。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM