Build&Install using EXACTLY this:

python setup.py build -c mingw32 install



On Mon, Jun 29, 2009 at 3:13 PM, Elliott Slaughter<[email protected]> wrote:
> Hi,
>
> I just tried to install Cython with Python 2.5.4 (from the binary installer)
> on Windows. Since I don't have MSVC installed, I get this message:
>
> C:\...\Cython-0.11.2>python setup.py install
> ...
> 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.
>
> But the -c option isn't actually recognized by setup.py:
>
> C:\...\Cython-0.11.2>python setup.py -c mingw32 install
> ...
> usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
>    or: setup.py --help [cmd1 cmd2 ...]
>    or: setup.py --help-commands
>    or: setup.py cmd --help
>
> error: option -c not recognized
>
> And setup.py --help doesn't give any relevant suggestions.
>
> I would appreciate it if someone could point me in the right direction.
>
> Thanks.
>
> --
> Elliott Slaughter
>
> "Don't worry about what anybody else is going to do. The best way to predict
> the future is to invent it." - Alan Kay
>
> _______________________________________________
> Cython-dev mailing list
> [email protected]
> http://codespeak.net/mailman/listinfo/cython-dev
>
>



-- 
Lisandro Dalcín
---------------
Centro Internacional de Métodos Computacionales en Ingeniería (CIMEC)
Instituto de Desarrollo Tecnológico para la Industria Química (INTEC)
Consejo Nacional de Investigaciones Científicas y Técnicas (CONICET)
PTLC - Güemes 3450, (3000) Santa Fe, Argentina
Tel/Fax: +54-(0)342-451.1594
_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to