[SciPy-dev] can't install timeseries

Pearu Peterson pearu at cens.ioc.ee
Sat May 19 17:54:18 EDT 2007


On Sun, May 20, 2007 12:46 am, jai hanuman wrote:
> hi,
> i dont have vs 2003. i've tried with both mingw32 and cygwin and it fails
> to
> build and install timeseries. (maskedarray installs fine).
>
> regards
>
> ------------------------
>>python setup.py install
> ....
> running install
> running build
> running config_fc
> running build_src
> building extension "timeseries.cseries" sources
> running build_py
> running build_ext
> No module named msvccompiler in numpy.distutils, trying from distutils..
> error: Python was built with Visual Studio 2003;
> extensions must be built with a compiler than can generate compatible
> binaries.
> Visual Studio 2003 was not found on this system. If you have Cygwin
> installed,
> you can try compiling with MingW32, by passing "-c mingw32" to setup.py.
>
>>python setup.py install -c mingw32
> ..
> error: invalid command 'mingw32'
>
>>python setup.py -c mingw32 install
> ..
> error: option -c not recognized
> ------------------

Try:

python setup.py build --compiler=mingw32 install

HTH,
Pearu





More information about the SciPy-Dev mailing list