new-coder icon indicating copy to clipboard operation
new-coder copied to clipboard

VCForPython27.msi fixed dataviz requirements installation issues on Win8.1

Open gaucheph opened this issue 10 years ago • 6 comments

Using Windows 8.1, on "Step 0" of the "dataviz" tutorial, requirements installation line:

>pip install -r requirements

produced errors mentioning that a Visual C++ 9.0 compiler was needed. Reading further down:

>pip install numpy

produced nearly identical errors.

A search revealed a new-ish C++ compiler for Python 2.7 released by Microsoft.

After running this installer, I deactivated the virtualenv and reactivated. Then, I ran pip install numpy successfully. matplotlib and geojson also worked.

gaucheph avatar May 02 '15 03:05 gaucheph

Ah interesting, thank you! Did you have a C compiler already installed like MinGW?

econchick avatar May 02 '15 03:05 econchick

Had to google it. I don't think so. g++ --version gives error.

gaucheph avatar May 02 '15 03:05 gaucheph

Did you go through this first: http://newcoder.io/begin/setup-your-machine/

econchick avatar May 02 '15 03:05 econchick

Ah sorry - I take that back. Before the last site update I had instructions on setting up a C compiler for Windows, but now I see that was erroneously removed. Thanks for bringing it to my attention!

econchick avatar May 02 '15 04:05 econchick

So I think this code can't be used in Windows then? hiks :'(

vionemc avatar Nov 05 '15 14:11 vionemc

It seems that Windows instructions for setting up machine is missing C compiler part again.

mlukjanska avatar Jan 28 '16 15:01 mlukjanska