How to Install Microsoft Visual Studio 2019 with Python?

Since Microsoft Visual Studio Code and Visual Studio 2019 both of them are available for free, you can choose whatever you are comfortable with.

Visual Studio Code doesn't have any inbuilt compilers (you need to install different compilers if you want to run any of the other language), on the other hand Visual Studio 2019 comes with compilers for bunch of languages (C, C++, C#, and many more based on selection). When you get something extra, always you need to have more storage.

Visual Studio Code is a light weight editor, and takes very less space for doing our Machine Learning with Python.

Go to the URL: https://visualstudio.microsoft.com/downloads/

Download and install the most comfortable (for you) software. Community Edition is free and comes with lot of perks including online access. You can register for Microsoft account.

MS Visual Studio Code vs MS Visual Studio 2019

Installation process is so easy, just press next wherever you see that option, when it provides check box for selecting environment select python for Visual Studio 2019. Visual Studio Code leave everything in the default state. We are not playing with configurations now.

If you want to download on different machine and install it on different machine, you need to follow a different process.

Once you download the Visual Studio Installer, (vs_community.exe), you need to run it with command prompt. Do not download anything you don't need it, because the entire package is almost 30 GB.

vs_community.exe --layout c:\vslayout --lang en-US

Add anything you want to be added as parameters, for example the below parameters lets you to install C++.

--add Microsoft.VisualStudio.Workload.NativeDesktop --includeRecommended

I have added .NET desktop development and Python.

Python Development in Visual Studio

Select whatever you want along with this, if you have already installed VS you can just go to the Installer, hit of More -> Modify and select this option to install.



You may also like

No comments: