How can I install Visual C++ even when my C: drive is full, or change “System cache, tools” location?

When installing a particular python package with pip in Windows, pip requires Microsoft Visual C++ 14 or above to be installed. In Visual Studio Installer, default location of “System cache, tools and SDKs with fixed location” is in C: drive, but my C: drive doesn’t have enough space. I changed the path of “Shared components, tools and SDKs” with regedit, but I don’t know how “System cache, tools” path could be changed. The “System cache, tools” takes up several gigabytes of space.

Can this path be changed, and if not, how can I install Visual C++ even when my C: drive is full?

I tried to install visual c++ 14 or above.

  • Purchase a bigger drive or clean up the temp/junk folders perhaps including browser cached files. I know this is not really the “answer” but more just a comment.

    – 




  • To change the cache location you will need to un-install, set the location then re-install. ref: right near the top learn.microsoft.com/en-us/visualstudio/install/…

    – 

  • Note you can also disable package cache with “%ProgramFiles(x86)%\Microsoft Visual Studio\Installer\vs_installer.exe” –nocache ref: learn.microsoft.com/en-us/visualstudio/install/…

    – 

  • MIGHT have better luck on the superuser site: superuser.com

    – 

  • @MarkSchultheiss I’m talking about “System cache, tools and SDKs”, not “Shared components, tools and SDKs”!

    – 

Leave a Comment