To install hazm , you need to install all its prerequisites.
If you install it using pip install hazm or pip install hazm-master.zip , pip will try to extract and install everything for you. If you unzip it and run setup.py manually, you should take care to find out and set all the prerequisites yourself (and possibly tell hazm how to find them); it will not solve anything.
Your problem is with libwapiti , which requires a C compiler and supposedly also the Wapiti C library. In fact, I'm not sure if Wapiti and libwapiti work on Windows at all. Maybe they will, but if not, all you can do is port them yourself, submit a feature request to your trackers for the problem, or use Cygwin instead of your native Windows.
Anyway, if they support Windows, then you need to:
- Download, create and install
Wapiti (see the link above and read the instructions on your website or inside the package). pip install hazm again.
source share