我正在尝试使用Conda安装tensorflow-gpu 1.15以便轻松安装CUDA和cuDNN。问题在于,根据官方网站的兼容性表,我需要python 3.6、CUDA 10.0和cuDNN 7.4。通过
conda search cudnn
搜索Conda rep,结果显示没有cuDNN 7.4。是否有其他方法可以安装所需的软件包?或者,tensorflow 1.15是否也适用于其他版本组合?顺便提一下,python 3.6、tensorflow-gpu 1.15和CUDA 10可以正确安装,但似乎没有cuDNN无法正确使用GPU。我最近才开始使用Conda,可能有一种直接的方法可以做到这一点,但我没有意识到。我的Conda版本是4.9.1(miniconda版本)。---更新---:仅供参考,我在尝试conda create -n myenv -c conda-forge tensorflow-gpu=1.15
时出现了错误。Collecting package metadata (current_repodata.json): done
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: -
Found conflicts! Looking for incompatible packages.
This can take several minutes. Press CTRL-C to abort.
failed
UnsatisfiableError: The following specifications were found to be incompatible with each other:
Output in format: Requested package -> Available versions
Package _tflow_select conflicts for:
_tflow_select==2.1.0=gpu
tensorflow==1.15.0 -> _tflow_select[version='2.1.0|2.3.0|2.2.0',build='gpu|mkl|eigen']
Note that strict channel priority may have removed packages required for satisfiability.
conda create -n tensorflow1.15 python=3.5 conda activate tensorflow1.15 conda install cudatoolkit=10.0 conda install cudnn=7.6.0 pip3 install tensorflow-gpu==1.15
- Arjun