You need to add the path to the Python folder and to the Scripts folder in environment variables, if you want to be able to use Python and Pip (install libraries) from anywhere in the Command Prompt. Python will be installed to “C:\Program Files (x86)\Microsoft Visual Studio\Shared”. Modify your Visual Studio Version, check Python development and click on the Modify button. Use Visual Studio Installer to install Python with Visual Studio. Python is a very powerful language for machine learning as it has many libraries that can be used to help you develop great models for prediction. I will also show how to install libraries in the command prompt (CMD). This tutorial explains how to install Python and libraries with Visual Studio.