Skip to content


Subversion checkout URL

You can clone with
Download ZIP


Possible Cython dependency for pyregion #6

taldcroft opened this Issue · 0 comments

1 participant


From Shane Bussman and my response:

Thanks for the info.  It appears that pyregion has added a new dependency 
on Pyrex or Cython.  I'll put this in the Python for Astronomers issue tracker 
so we won't forget to include this update.  BTW you might want to check into 
using Cython instead of Pyrex.  Generally speaking Cython is the preferred 
way to handle .pyx files since it is being very actively developed now.  Also, 
it looks like pyregion is supposed to build without Pyrex or Cython [1], but I 
guess that didn't work for you..

- Tom


On Thu, May 31, 2012 at 2:30 PM, Shane Bussmann <> wrote:
> Hi Tom,
> I just wanted to let you know that I am upgrading my python packages
> (Enthought Python) using the installation instructions on the practical
> python for astronomers guide:
> and I
> encountered an error when upgrading pyregion:
> error: unknown file type '.pyx' (from 'src/_region_filter.pyx')
> I googled a bit and found that installing pyrex first, and then installing
> pyregion fixes the error.  I don't know why this is the case, but it seems
> to work.
> -Shane
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.