Creating a python project in Microsoft visual studio
- In visual studio select File → New → Project
Select "Python Application" and enter desired name for the project. Then press "ok"
- Visual studio will now open your new project with a script named the same as your project
Installing packages in Microsoft Visual Studio
- In visual studio select the Window → Other windows → Python enviroments. Python enviroments will now open in place of the solution explorer.
In the dropdown menu where "Overview" currently is selected, select the "Packages" tab and you will see a list of currently packages installed.
Type in the package you wish to install in the search bar. For example "NumPy". Click the option "Run command: pip install numpy"
In the output log visual studio will now output "----- Successfully installed 'numpy' -----" if the install was sucsessful.