econchick/new-coder

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

gaucheph opened this issue · 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.

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

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

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!

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

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