While referring to the URL below, I made it possible to use Cython on Windows, so leave a note.
With the pip command using the whl file compiled for windows install.
http://www.lfd.uci.edu/~gohlke/pythonlibs/#cython From, according to my Python (= CPython) version and 32bit version or 64bit version Download the corresponding whl file.
pip install Cython-0.22.1-cp27-none-win32.whl
Next, I installed MinGW with reference to [2] so that I could use gcc and g ++. Add c: \ mingw \ bin to the environment variable Path. Install MinGW Check at least gcc and g ++.
To configure distutils to use MinGW [build] compiler = mingw32 Save it as distutils.cfg in C: \ Python27 \ Lib \ distutil.
[1]:Unofficial Windows Binaries for Python Extension Packages http://www.lfd.uci.edu/~gohlke/pythonlibs/
\ [2]: Installing and using MinGW (2014 version) http://web.plus-idea.net/2014/06/mingw-install-2014/
\ [3]: Surprisingly easy. Cython installation and usage memorandum http://hennohito.cocolog-nifty.com/blog/2011/07/cython-c1cb.html
Recommended Posts