Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Python Data Science Basics Getting Started with Data Science Installing Libraries

Keith Doyle
Keith Doyle
25,973 Points

Error installing matplotlib and numpy on Windows

I get this error when I try and install matplotlib and numpy on my Windows 7 machine. I Googled the heck out of it and haven't come across a solution to fix it. Any ideas?

error: Microsoft Visual C++ 10.0 is required (Unable to find vcvarsall.bat).

5 Answers

Keith Doyle
Keith Doyle
25,973 Points

Eh, I gave up on trying to get it to work on Windows. Will just use Workspaces to follow with the course. Trying to get all the dependencies installed was a nightmare.

Seth Kroger
Seth Kroger
56,413 Points

There's also a site that has common scientific and mathematical packages precompiled for Windows in what's called wheel format (.whl). Once you download the appropriate package for your python version you just run pip on the file and it should install.

http://www.lfd.uci.edu/~gohlke/pythonlibs/

Keith Doyle
Keith Doyle
25,973 Points

Thanks, it looks like version 3.5 needs Visual Studio 2015 so I'll give that a shot. Meanwhile I'm installing Debian on VMWare so I can have an alternative.

https://www.youtube.com/watch?v=vHRRiBHI3to <-- This video works for Windows 7 and 8 I dont know about windows 10 but give it a shot it should xD. Your using eclipse and pydev so this should make your life alot easier.

^ After youve completed the video just import Kats files into your project