How to fix the CUDA toolkit 9.0 installation failed.

This tutorial will try to help you fix the failed setup of CUDA toolkit 9.0 on Windows PC.  It will give you steps to repair the CUDA toolkit installation failed.

I know that it is mind wobbling to try consistently installing the toolkit, which eventually fails every time, and how we feel when the eager to quickly setup deep learning on GPU can’t be quenched.

Follow with me through the following steps.  I believe following all the steps may not be necessary, as some may be able to fix installation using only two-three or even only a single step. What’s bad in that. In the end it should work.

So, let’s get started.

1. Disable Antivirus

There may be times when the antivirus suite on the PC is constantly scanning for the suspects and whenever the toolkit installer extracts it, anti-virus scans and interferes with CUDA toolkit installation. I was having this problem, when the real-time scanning on my McAfee Antivirus hindered the install. I just paused the real-time scanning feature and the install was all good to go.

2. Install Visual Studio 2015 or above.

For visual studio integrations to work in the CUDA toolkit setup, you need to install a Visual Studio 2015 or newer. I would recommend the latest version of Visual Studio Community edition, which is Visual Studio Community 2017.

3. Uninstall the existing NVIDIA software

As the installation is breaking every time, there are much chances that the existing drivers might be too updated or too old to be compatible with the toolkit. Or, the previous installations are broken due to any reasons. Just head towards the Control Panel >> Programs and Features and uninstall the NVIDIA installations. And don’t forget to restart the PC after uninstall.

4. Delete folders associated with CUDA installation.

Generally there are two folders in Program Files.

You may also run the disk cleanup on the installation drive of CUDA. Restart the PC after the clean.

5. Make fresh install of CUDA toolkit 9.0

Run the toolkit’s base installer and run the setup with “Express Installation” setting and it will be good to go. You can follow the installation procedure detailed in my previous post.

That’s all you need to have perfectly working NVIDIA CUDA toolkit on your PC.

I would like to hear in the comments below, if this post helps fix your installation.

Wish you a Happy Deep Learning 🙂

You may also like...

1 Response

  1. Good article. I definitely appreciate this site. Thanks!

Leave a Reply

Your email address will not be published. Required fields are marked *

three × 3 =