Cython: Update to 0.20

I upgraded cython to 0.20 via pip install --upgrade cython. Before it was just working fine. Then I couldn't compile anymore. Then I tried to uninstall an reinstall an got this Unable to find vcvarsall.bat error which wasn't there when installing cython 0.19...Come to think about it, 0.19 was installed with python(x, y) installation.

C:\>gcc -v
Using built-in specs.
Target: mingw32
Configured with: ../gcc-4.5.2/configure --enable-languages=c,c++,ada,fortran,obj
c,obj-c++ --disable-sjlj-exceptions --with-dwarf2 --enable-shared --enable-libgo
mp --disable-win32-registry --enable-libstdcxx-debug --enable-version-specific-r
untime-libs --disable-werror --build=mingw32 --prefix=/mingw
Thread model: win32
gcc version 4.5.2 (GCC)

Microsoft Windows [Version 6.1.7601]
Python 2.7.5 (default, May 15 2013, 22:43:36) [MSC v.1500 32 bit (Intel)] on win

I followed the instructions here, but not luck. Any ideas? Any more info I can provide?


Well, I got this working using a prebuild version from here as recommended by tom pohl here

In this case pip tries to compile cython with visual studio compiler (hence vcvarsall.bat error). To compile extensions for Python 2.7 (32-bit) using visual studio compiler you'll need to have Visual C++ 2008 Express installed.

But if one day you discover, that you'd like to build cython from source, then check out "How to use MinGW's gcc compiler when installing Python package using Pip?"

Need Your Help

Pythonic way to wrap a subprocess call that takes a lot of parameters?

python subprocess parameter-passing args kwargs

I am writing a python script that provides a more user friendly API to a command line tool. Some of the necessary command calls take a lot of parameters (up to around 10 sometimes), but that is not...

slideDown() makes everything in wrapper shift

javascript jquery debugging slidedown

I am currently creating a simple menu where there are several names of services and a user can click on one and jQuery will show it's corresponding paragraph describing it below it. My jQuery code is