pyvideo / richard

video indexing site
Other
216 stars 55 forks source link

lxml installation fails with errors when following instructions in dev_hacking.rst #293

Open lgp171188 opened 9 years ago

lgp171188 commented 9 years ago

The missing "pyconfig.h" error happens when I run pip install -e ".[dev]". Installing the python-dev package (which is listed as a dependency for PostgreSQL later in the same guide) solves the problem. But it lead to "/usr/bin/ld: cannot find -lz" error which I solved by installing the libz-dev package. This is on an up-to-date fresh Debian Jessie 64-bit VM installation. I am guessing this could be applicable to Ubuntu as well. Need to update dev_hacking.rst to specify installing these packages.

willkg commented 9 years ago

That's entirely possible. I haven't set up richard in a while, so I wouldn't know. Please feel free to adjust them so they work.