Select View-> Other Windows-> Python Environment.
Select "Package (PyPI)" in the right pane and enter "numpy" in the text box immediately below.
Click Run the following command: pip install numpy.
https://docs.microsoft.com/ja-jp/visualstudio/python/tutorial-working-with-python-in-visual-studio-step-05-installing-packages?view=vs-2019
Recommended Posts