Stuck installing nsight on cuda_12.8.0_571.96_windows

I tried to install Cuda 12.8 but in the middle of the installation a stuck occurred when installing NSight Visual Studio for almost 4 hours with no progress, I have also tried using the Cuda 12.6 version but it was even worse because there was no progress from the start, what should I do? I have also installed Visual Studio Community 2022 version 17.13.0

9 Likes

@mwawang24

There is known installation issue with VS2022 latest17.13.0.
Our dev is actively working on it.
Please use a previous VS2022 version for workaround.

7 Likes

is it possible if I use Visual Studio Community 2019? Will there be no errors?

Yes. VS2019 should work.

@veraj is correct; please see this post for an example workaround solution.

1 Like

Finally I’ve found that I’m not alone with such issue. Does any body can point me to the URL about issues and bug tracking in CUDA and NVidia development tools? Thanks.

Hi, @astro.lutsk.aa

This is an VS issue. Please refer Developer Community

Does VS2022 17.12.0 version work?

Yes. It works.

Does 17.14.0 work, now that it has been published?

I’m using the Community version of Visual Studio and can’t download older versions. I’m stuck with VS2022 version 17.13.0, and CUDA 12.6 hangs during installation. Tried CUDA 12.4, but no luck either. Us Community Edition users really need a fix or workaround from NVIDIA soon. Thanks!

17.14.0 seems not fix yet.

Following this link - CUDA Install hangs forever, Windows 10, GeForce 920m - #8 by theaviator007 there seems to be an issue with nsight - which is where my Cuda installer hangs up. If I’m understanding this, which I’m not sure I am, nsight no longer comes bundled with Visual Studio. There seems to be a separate installer from Nvidia. See NVIDIA Nsight Integration | NVIDIA Developer . I’m not experienced enough to know whether or not this is the way to go. If someone else could give me a guide here. Appreciated

1 Like

Completely remove both the Visual Studio and Visual Studio Installer that is currently installed on your machine and then follow instructions here

Hope that helps :)

SETUP CUDA + CuDNN + PyTorch + Tensorflow (Windows).pdf (907.2 KB)

Hey guys, I have made a personal tutorial to how to install CUDA & CudNN + Setup PyTorch &Tensorflow for one same environment (using conda or miniconda).
I give solution on how to solve some problem encounter like Visual Studio Community compatibility problems, or Windows problem for version older than 19044 etc…

Hope it will helps some of you !

3 Likes
PS C:\Program Files (x86)\Microsoft Visual Studio\Installer> .\VisualStudioSetup.exe --channelUri https://aka.ms/vs/17/release.LTSC.17.12/channel --locale en-US
.\VisualStudioSetup.exe : The term '.\VisualStudioSetup.exe' is not recognized as the name of a cmdlet, function,
script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is
correct and try again.
At line:1 char:1
+ .\VisualStudioSetup.exe --channelUri https://aka.ms/vs/17/release.LTS ...
+ ~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (.\VisualStudioSetup.exe:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

please help i got error on Uri

It Worked !

Hello Sir ! Sorry for late answer, it was a long week end.

This error means that the PowerShell doesn’t find your VisualStudioSetup.exe file (Or that your powerhsell doesn’t recognize him as executable file).

Firstly :
Check if the file is in the path that you wrote :
Get-ChildItem "C:\Program Files (x86)\Microsoft Visual Studio\Installer"

If VisualStudioSetup.exe not appear, you have to re-install Visual Studio Installer. Maybe there was a problem during installation.

If the file exist, try this command with the complete path :
"C:\Program Files (x86)\Microsoft Visual Studio\Installer\VisualStudioSetup.exe" --channelUri https://aka.ms/vs/17/release.LTSC.17.12/channel --locale en-US

It will forces PowerShell to execute the file.

Finally, if you get the error again, maybe your PowerShell block the execution of .exe file until they are not approved (Question of Security of your computer).
If it’s the case, try this command :

Set-ExecutionPolicy Unrestricted -Scope Process -Force

It will allows you to execute .exe file during the session.
Note that you have to repeat this command if you close your Powershell windows.

I hope it will help you.
Sincerely, Maxence QNT.

Glad that it helps you !

This worked for me thank you