econchick / new-coder

New Coder tutorials
zlib License
597 stars 394 forks source link

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

Open gaucheph opened 9 years ago

gaucheph commented 9 years ago

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.

econchick commented 9 years ago

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

gaucheph commented 9 years ago

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

econchick commented 9 years ago

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

econchick commented 9 years ago

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!

vionemc commented 8 years ago

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

mlukjanska commented 8 years ago

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