Can pip be used with Python Tools in Visual Studio?

On VS 2017, switch to the "solution explorer" and right click as indicated:

enter image description here


Yep! Go to Tools -> Python Tools -> Python Environments.

This will open a new pane where you can select pip (VS 2015) or Packages (VS 2017) from the menu (it will say Overview by default) and then you can enter your module and double click to install.

enter image description here

Some packages have complex dependencies, and you might need to install them manually from these links:

  • numpy http://sourceforge.net/projects/numpy/files/NumPy/
  • scipy http://sourceforge.net/projects/scipy/files/scipy/
  • Matplotlib http://matplotlib.org/downloads.html
  • Pandas http://pandas.pydata.org/getpandas.html