Note that there are some explanatory texts on larger screens.

plurals
  1. POInstalling Pandas for Python 2.7 64 bit - Error unable to find vcvarsall.bat
    primarykey
    data
    text
    <p>I am trying to install the pandas module. I tried an installer before but when importing I got some cryptic errors. I read that using pip is the recommended way to install packages. </p> <p>When I use <code>pip install pandas</code> it manages to install pandas, dateultils and another package but when it arrives to numpy it exits with the error <code>"Unable to find vcvarsall.bat"</code>. </p> <p>Of course, I searched for this problem which seems to be very common. However, none of the solution listed (several and not very clear/consistent worked). I have a Visual Studio 8 folder in program files. I also installed VS 2012 express which added a Visual Studio 11 folder. The only vcvarsall.bat that I found is in <code>C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC</code>.</p> <p>I added that folder to the path to no avail. I also installed mingw and added <code>c:mingw/bin</code> to the path. Nothing. I have a distutils.cfg with the <code>compiler=mingw32</code> set already. I did not create it or modified it. It was already there. It puzzles me because my python dist and all modules should be 64 bit. I have a EPD python built on this laptop. I run Win8 that I read seems to be harder to manage.</p> <p>There seem to be several ways but none is exactly clear and the above did not work for me at all.</p> <p>Please, if you know how to help, write a step-by-step way to and explain the rationale behind it. For example, in other threads, people suggest to add this variable or another one, or this to the path, or that, and it's not clear why and it seems to depend on a particular system. I am not sure what I should do indeed.</p> <p>Thanks!</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. COLet me try to understand your problem. Is your python distribution EPD or one that you downloaded manually? With EPD or Canopy, both numpy and pandas are installed by default, even in the free version.
      singulars
    2. COAs previous comment said, if you are using Enthought Python then you don't need to build pandas as it is already pre-built. But for building any C extensions that are not pre-built (or for building them on another python distribution) you will actually need Visual Studio 2008 installed, as that is what was used to build python 2.7 pretty much everywhere.
      singulars
    3. COTry running it from the Visual C command shell, after setting the environment as described in the [Cython wiki](http://wiki.cython.org/64BitCythonExtensionsOnWindows). You would probably be better off, if all you want is to compile Python extensions, to install the SDK listed in that link, rather than a newer version of Visual Studio. That should take care of your missing `vcvarsall.bat`, but compiling numpy under windows is a hard task, better left to Christoph Gohlke: get the binaries for numpy and pandas from [his repository](http://www.lfd.uci.edu/~gohlke/pythonlibs/), its the easiest way.
      singulars
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload