WIndows 10 CUDA installation failure solved

I have tried to install cuda 9.0 it failed many time.
In my case it has been solved by selecting installation option custom and unchecked the visual studio integration under the CUDA option .

Thanks for the work around. Wouldn’t it make sense to fix the installer so it doesn’t fail if the GeForce Experience is already installed? It’s been an issue since 2018.

Wouldn’t it be nice to even know WHY the install fails instead of just listing all the things that failed to install


2 Likes

I am using uni desktop so I can’t disinstall Geforce experience. And downloading CUDA keeps failing.

Can you explain step by step how to do a custom install please?

I can’t see the custom installation

That worked in my case as well. Finally!!!

@GuyMadison I just singed up to say thank you

So, thank you


go to custom installation instead of express intallation there you can find the tree like structure and you can see the visual studio integration part

Is there a way to install cuda along with GeForce Experience and Graphics Drivers? I already have GeForce installed for gaming. Now I want to do some machine learning along with gaming. for that I need to install cuda toolkit.

I have installed Cuda 10.1, 10.2, 11.1, 11.2, and 11.4, with Geforce Experience installed. Never had an inkling of an issue wrt cuda (I did once have an issue with geforce driver update). Now, however, I cannot get past “checking system suitability” to install Cuda 11.5. I have Win 10 21H1. I like having Geforce experience for VR. I use Cuda for computation. It would be nice if they worked well with one another. It is the same company for pete’s sake.

how did you disable and from where?

hi
 when installation ask to you for fast or custom install, choose custom and uncheck them

Absolutely none of this worked for me. Win 10, GeForce GTX 960M


anyone please guide me what can i do, I tried everything suggested here.

Same problem here, solved unistalling Vstudio and everything from Nvidia
After that installed without VStudio

1 Like

Solved. by disabling visual studio integration. Thnks all

Had the same problem with the installer.

After some not successful tries the problem was “Nsight Visual Studio Edition”. It was the only component shown as “Failed”, the other ones as “Not Installed”.

Which means: Only the failed component is the problem, “not installed” means, because of the “Failed” they simply have not begun to be installed.

After entering “Nsight Visual Studio Edition” in Google I found a page from NVidia where you can download each and every component in the CUDA installer list as single installation.

I downloaded the installer and also the installer for Visual Studio integration (VSIX file):

The VSIX installed without problems, but not the Nsight tool (msi package). It says, there is something wrong with the VS2017 installation on my computer (have VS2017/2022 community edition). And indeed after starting the VS installer where I updated both yesterday the VSTO addin had a problem. I ignored that because I don’t need it currently and that was the disturbing problem of the CUDA installer.

I repaired the installation of VS2017 by removing the VSTO.

Next I thought I need now to install all the CUDA elements manually
 phew
 a lot of work.

So I gave it a last try with the standard installer, using custom installation. The last tries have shown, a newer version of components is detected and ignored. To make it sure, I unchecked all the already installed components, means Nsight, the VSIX Visual Studio integration, the (newer) graphic and HD audio driver and also the Experience app.

After that the installation worked without problems.

So, my recommendation: If you have problems with the installer, first look for any “Failed” component in the list, then try to install that one manually to see if it outputs better error messages.
The single components can be found here:

After fixing the single problem the installation should work.

By the way: It is not needed to first deinstall any NVidia driver or Visual Studio or anything like that. This may be needed in very rare cases where the driver or VS is really a mess on your computer for whatever reason. But if all that was good before - no need to deinstall.

1 Like

I am receiving the same error message as presented in this post.

Would it be ok to just disable Visual Studio Integration ? I have just installed Visual Studio because when initially trying to install CUDA I was presented with warning " No supported version of Visual Studio was found. Some components of the CUDA Toolkit will not work properly" so I closed the CUDA installer and installed Visual Studio after which I proceeded again with the CUDA installer and got this “Installer failed”

Reason for wanting to install CUDA is that I want to learn to use Stable Diffusion to train or fine-tune a model with my own photos and one of the prerequisites - from what I understand so far - is CUDA. Would the Visual Studio integration not be needed ?

Untitled-2

From what I figured out so far is that u opted out all of the stuff u already installed during the custom page


how can i fix it