On 17 January 2013 11:52, Albert-Jan Roskam <fo...@yahoo.com> wrote:
>
> I recently used Cython for the first time and I found it surprisingly easy. 
> The installation under Linux
> is easy, but seems to be not really trivial under Windows (I never tried 
> installing it under windows though; I'd first try one of the unofficial 
> binaries: http://www.lfd.uci.edu/~gohlke/pythonlibs/#cython).

I've never had a problem installing cython under Windows. Although,
cython does require a Python-compatible C compiler. This can be (the
right version of) MSVC or (with a little fiddling) mingw32. I use
mingw32 and, although it is not officially supported by CPython I
think it is officially supported by Cython. I have had problems
getting the right C-compiler on Windows.

In any case, once you have a C compiler installed it should be
straightforward to install cython:
1) Get the archive from here: http://cython.org/#download
2) Extract it
3) python setup.py install

If you have pip or easy_install then it's as easy as running 'pip
install cython' or 'easy_install cython' in your terminal.


Oscar
_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to