Offline installer of the Python extension For Visual Studio on Windows

Thompson, Michael John (Capgemini) 20 Reputation points
2025-08-06T11:58:41.4+00:00

Hi, Our security team require downloaded package to scan for security risks and vulnerabilities before installation and i am unable to find an offline installer for the python extension for visual studio on windows. Where would i be able access this offline installer package?

Many thanks

Mike

Developer technologies | Visual Studio | Extensions
0 comments No comments
{count} votes

Accepted answer
  1. Susmitha T (INFOSYS LIMITED) 575 Reputation points Microsoft External Staff
    2025-08-07T09:17:31.34+00:00

    Thank you for reaching out. Please find the answer below.

    1.Download the Visual Studio Installer: Get it from the Visual Studio download page.

    2.Run the Installer with Layout Command Open Command Prompt and run on bash:  vs_installer.exe --layout C:\VSOffline --add Microsoft.VisualStudio.Workload.Python --lang en-US
    This downloads all components for the Python workload. 

    You can replace C:\VSOffline with your preferred path.

     
    3.Select the Python Workload: During the offline setup, ensure you select the "Python development" workload which includes the Python extension.

    **
    4.Copy the Offline Installer: After creating the offline installer, you can then transfer the entire layout folder to your offline machines for installation.

    5.Install Python Interpreter: Lastly, ensure that a Python interpreter is installed either from python.org or Anaconda, as you'll need that to work with the Python extension.

     

    Kindly refer the documentation for step-by-step guide: Create an offline installation - Visual Studio (Windows) | Microsoft Learn

     

    If issue still persist after following all the steps, we’ll be happy to assist further if needed." Kindly mark the answer as accepted if the issue resolved".

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.