Solved

pip install fails for pandas

Posted on 2014-01-21
2
1,861 Views
Last Modified: 2014-01-23
Hi,

I've successfully installed python packages using pip on windows 7 (64 bit) in the command shell.  However, I tried to install pandas but get the following error:

distutils.errors.DistutilsError: Setup script exited with error: Unable to find vcvarsall.bat

I remember having this problem in the last few years some time, but I don't remember the solution.  I think the issue is that I just installed Matlab, which installed a version of MS Visual C++ redistributable. I now have version 2005, 2008, 2010 and 2012 (32 and 64 bit versions of all but 2005).

Somehow I think vc++ is causing an issue.

Anyone know a solution?
0
Comment
Question by:ugeb
2 Comments
 
LVL 16

Accepted Solution

by:
gelonida earned 500 total points
Comment Utility
pandas seems to be a package, that contains C source code.
Thus installing it requires a C/C++ compiler (Visual Studio / MingW) on your machine.

RThe visualC runtime dlls will not be sufficient.

You might either search on pypi for a binary installer. download it and install an already compiled version or try to install a compiler, all other required dependencies and give it a shot.

Compiling python packages under windows is mostly quite painful.
0
 
LVL 11

Author Closing Comment

by:ugeb
Comment Utility
I've had this problem before and fixed it without having to download an executable.  It's preferable to fix it for all potential problems and not just get around it for one case.  However, I don't have time to mess with it now so I'll have to live with the executable.
Thanks.
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Sequence is something that used to store data in it in very simple words. Let us just create a list first. To create a list first of all we need to give a name to our list which I have taken as “COURSE” followed by equals sign and finally enclosed …
This article is meant to give a basic understanding of how to use R Sweave as a way to merge LaTeX and R code seamlessly into one presentable document.
Learn the basics of modules and packages in Python. Every Python file is a module, ending in the suffix: .py: Modules are a collection of functions and variables.: Packages are a collection of modules.: Module functions and variables are accessed us…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now