Unknown file type error with .pyx file
The .pyx
should should be compiled to C with Pyrex and then compiled to object code. Check if a src/_region_filter.c
file is present in the distribution and hack the setup.py
script to build that instead. (Also, consider filing a bug report, since this shouldn't be happening.)
Install pyrex first and it will work.
Do the following: sudo pip install pyrex
python3.6 -m pip install Cython
Installing Cython solves the problem for me!