python - Problems with installing Cython on a computer running Windows 7 -


i trying install cython on computer running windows 7. using mingw c-compiler. i've taken following steps:

  1. installed mingw.

  2. added c:\mingw\bin path. made sure path included no empty spaces.

  3. created file distutils.cfg in distutils directory. reads:

    [build] compiler=mingw [build_ext] compiler=mingw

  4. i start command prompt, got proper directory , type "python setup.py install". following output:

    running install running build running build_py running build_ext building 'cython.plex.scanners' extension error: unable find vcvarsall.bat

as far i've understood, error regarding setting mingw c-compiler, i've aldready included path. more can do? go here?

open cmd , type:

set vs90comntools=%vs100comntools%

change numbers edition value of visual studio running :)

possibly stolen here: error: unable find vcvarsall.bat

edit:

you can download necessary packages here:

http://go.microsoft.com/?linkid=7729279

it sets vs90commntools :)


Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

Python ctypes access violation with const pointer arguments -