This project has moved. For the latest updates, please go here.

How to install packages on PTVS

Dec 10, 2013 at 5:10 PM
I am far from enjoying python on windows.

Coming from mac the installation procedure is odd an bad described. Now I got VS runnning. Trying to run a simply python script is not possible. The packages required are missing. The simple ones like Scipy and Numpy. Back to homepage, there are described some ways to get it done. But:

I installed pip. where the hell is this prog located after installation?

What command do I have to enter to get packages loaded and installed? esp. for sci and Numpy?

I would omit coding in py on windows if it would be possible. What a hard way to go to get it running

Any help appreciated...

Dec 10, 2013 at 5:45 PM
Edited Dec 11, 2013 at 6:34 PM
qwetzuiop - PTVS is simply an add-in to give VS Python editing/debugging/browsing/... capabilities. It does /not/ come with a python interpreter or python libraries.

In the Installation page, there are instructions for how to install Python and Python libraries:

see the part that says "What to do next".

Once youve installed Python & some libraries, you can right click on your project and install more packages via the integrated pip/easy_install dialog.

here's a video of the experience with Python Environments:

fundamentally the difference between windows & mac/linux is that windows unfortunately does not come bundled w python. as such you have to take the extra step of installing these. but this generally should not take more than a few minutes and you'll get the latest versions. PTVS does its best to tell you where & which ones to install from, but you have to decide & perform the final installation action (ironpython vs cpython, 2.7 vs 3.x, 32 vs 64bit, which distro, etc).

let us know if more info is needed!