简体   繁体   English

无法在 Windows 10 上安装 Tensorflow-gpu

[英]Unable to install Tensorflow-gpu on Windows 10

A number of problems show up when attempting to install Tensorflow-gpu.尝试安装 Tensorflow-gpu 时会出现许多问题。

在此处输入图像描述

(First Problem): solving environment on anaconda fail (both initial frozen solve and repodata from current repodata). (第一个问题):anaconda 上的求解环境失败(初始冻结求解和当前 repodata 中的 repodata)。

(Second Problem main one ): both CUDA and cuDNN are installed (usually they are a part of the installation of Tensorflow-gpu since v 2.2). (第二个主要问题):CUDA 和 cuDNN 都已安装(通常它们是自 v 2.2 起安装 Tensorflow-gpu 的一部分)。 This is the main problem, since although the installation using conda seems to success in fact when try to work with the tensorflow and import it later, a group of errors shows up of missing libraries.这是主要问题,因为虽然使用 conda 的安装实际上在尝试使用 tensorflow 并稍后导入时似乎成功,但出现了一组缺少库的错误。 As seen with the screenshot, no CUDA or cuDNN available in the packagae plan for installation.如屏幕截图所示,安装包计划中没有 CUDA 或 cuDNN 可用。

Attempt to fix it by reinstalling Anaconda didn't work out, also I reinstall Windows10 without success.尝试通过重新安装 Anaconda 来修复它没有成功,我也重新安装了 Windows10 没有成功。 Highlighting, it used to work and installed by this method normally before.突出显示,它以前可以正常工作并通过这种方法安装。

please advise....请指教....

open anaconda navigator, at the top right there might be an update button.打开 anaconda 导航器,右上角可能有一个更新按钮。 Update anaconda and then try install from the navigator.更新 anaconda 然后尝试从导航器安装。 or you can try:或者您可以尝试:

conda install -c anaconda tensorflow-gpu

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

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