Make Cython available on Windows.

While referring to the URL below, I made it possible to use Cython on Windows, so leave a note.

Cython installation

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

Install MinGW to use MinGW's gcc and g ++ as the compiler

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 ++.

Description of configuration file to simplify compiler specification in Cython

To configure distutils to use MinGW [build] compiler = mingw32 Save it as distutils.cfg in C: \ Python27 \ Lib \ distutil.

Referenced URL

[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

Make Cython available on Windows.
Make pyknp (JUMAN, KNP) available on windows
Make iPython available on OSGeo4W
Make anaconda environment available from command prompt on windows
[Python] Make pip available on macOS
Make SciPy, scikit-learn available on M1 chip Macbooks
Make pip available on Mac (easy_install is deprecated)
Make DHT11 available on Raspberry Pi + python (memo)
Pylint on Windows Atom
Linux (WSL) on Windows
Use pyvenv on Windows
Anaconda on Windows Terminal
Install Anaconda on Windows 10
python basic on windows ②
Install python on windows
Install pycuda on Windows10
Build TensorFlow on Windows
Try FEniCS on Windows!
Build XGBoost on Windows
Install pygraphviz on Windows 10
Use Ansible on Windows
Try Poerty on Windows
Install Chainer 1.5.0 on Windows
Use QuTiP on Windows
Cython on Raspberry Pi
Use pip on Windows
Install Numpy on virtualenv on Windows
Set-enable Python virtualenv on Windows
Run Jupyter on Ubuntu on Windows
Run Openpose on Python (Windows)
Make MeCab available from Python3
Before trying Veriloggen on Windows
Install cvxpy on windows, Anaconda
Python + Kivy development on Windows
Try using OpenCV on Windows
F2py on Miniconda for Windows
Made python available on macOS
Sphinx-autobuild (0.5.2) on Windows7, Python 3.5.1, Sphinx 1.3.5
Fastest Python installation on Windows
Operate ubuntu on VScode (windows10)
Build Python environment on Windows
Django environment development on Windows 10
Install Chainer 1.6 (GPU) on Windows 7.
Make Opencv available in Python
Build python environment on windows
Set up Polyglot on Windows
Linux on Windows -1-: debian introduction
I ran python on windows
[Tensorflow] Tensorflow environment construction on Windows 10
Notes on installing Anaconda 3 on Windows
[Python] [Chainer] [Windows] Install Chainer on Windows
Use Python on Windows (PyCharm)
Run Jupyter Notebook on windows
Use Linux on Windows 10 (WSL2)
Blogging with Pelican on Windows
Python environment construction memo on Windows 10
Remove ubuntu installed on Windows 10 machine
Python 3.6 on Windows ... and to Xamarin.
Installing Kivy on Windows10 64bit Python3.5
Anaconda python environment construction on Windows 10
How to use Dataiku on Windows