How to install latest cuDNN to conda?

  1. You need to uninstall cudnn: conda uninstall cudnn.

  2. Uninstall any tensorflow dependencies: "conda uninstall tensorflow"

  3. Install tensorflow using pip: "pip install tensorflow"

  4. Install CuDNN and Cuda ToolKit following the instructions in here: https://www.tensorflow.org/install/gpu#linux_setup

  5. Use PyCharm or Spyder to run Scripts using tensorflow


  1. conda update --force conda
  2. conda update conda
  3. conda install -c anaconda cudnn
  4. conda list cudnn

You can install with conda-forge

conda install -c conda-forge cudnn

https://anaconda.org/conda-forge/cudnn

It is more up to date than anaconda channel - for example as of today, latest version of cudnn on anaconda is still 7.6.5, but on conda-forge v8.2.0.53. Same applies to cudatoolkit package.