pytries / hat-trie

HAT-Trie for Python
MIT License
86 stars 21 forks source link

Setup Cython Issues #13

Open eddy-geek opened 10 years ago

eddy-geek commented 10 years ago

I'm running into 2 issues with installing hat-trie:

1) I have to install Cython manually to prevent ImportError: No module named Cython.Distutils error (missing requirements file ?)

2) On one of my systems, even after installing Cython, the step cythoning src/hat_trie.pyx to src/hat_trie.c is missing, hence the build fails with gcc: src/hat_trie.c: No such file or directory. This might be just my environment (virtualenv on a SLES 11, multiple pythons in PATH), but I don't know how to investigate Cython issues...

Full pip.log: https://gist.github.com/eddy-geek/e9d6459b5a8989f7e5f3

kmike commented 10 years ago

Hi,

I've removed Cython dependency at install time (C files are now bundled). Could you please confirm pip install hat-trie works for you now?