Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error shows when install requirement.txt #10

Open
JulyUp opened this issue Jan 19, 2017 · 0 comments
Open

error shows when install requirement.txt #10

JulyUp opened this issue Jan 19, 2017 · 0 comments

Comments

@JulyUp
Copy link

JulyUp commented Jan 19, 2017

hello, First I use virtualenv. And when I do the command 'pip install -r requirements.txt',

it show error
`/home/xxx/work/web/flask-web/weblog/venv/build/lxml/src/lxml/includes/etree_defs.h:14:31: fatal error: libxml/xmlversion.h: No such file or directory

#include "libxml/xmlversion.h"

                           ^

compilation terminated.

error: command 'x86_64-linux-gnu-gcc' failed with exit status 1


Cleaning up...
Command /home/xxx/work/web/flask-web/weblog/venv/bin/python -c "import setuptools, tokenize;file='/home/xxx/work/web/flask-web/weblog/venv/build/lxml/setup.py';exec(compile(getattr(tokenize, 'open', open)(file).read().replace('\r\n', '\n'), file, 'exec'))" install --record /tmp/pip-Sb75vo-record/install-record.txt --single-version-externally-managed --compile --install-headers /home/xxx/work/web/flask-web/weblog/venv/include/site/python2.7 failed with error code 1 in /home/xxx/work/web/flask-web/weblog/venv/build/lxml
Storing debug log for failure in /home/congleng/.pip/pip.log`

how to solve it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant