How to install a tensorflowgpu-version with lower(compatible) version of cudatoolkit and cudnn

Please check Tested build configuration details to know compatible versions of Tensorflow, CUDA and cuDNN. You can follow the instructions mentioned in this link to get the specific CUDA and cuDNN installed in your system.

Please refer this similar issue.