richard icon indicating copy to clipboard operation
richard copied to clipboard

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

Open lgp171188 opened this issue 9 years ago • 1 comments

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.

lgp171188 avatar May 20 '15 17:05 lgp171188

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.

willkg avatar May 20 '15 19:05 willkg