I have got an issue with libxml2
python module.
I'm trying to install it on a python3 virtualenv using the following command:
pip install libxml2-python3
but it shows the following error:
Collecting libxml2-python3 Using cached
https://files.pythonhosted.org/packages/41/97/a2ecf6c5b291799dbd40b3d041d89b0ecdb1b43c8c2503e27991325851cd/libxml2-python3-2.9.5.tar.gz
Complete output from command python setup.py egg_info:
failed to find headers for libxml2: update includes_dir
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in
/tmp/pip-install-72u9ke0y/libxml2-python3/
I tried the solutions provided in the following links but nothing works for me :
https://github.com/GoogleCloudPlatform/google-cloud-python/issues/3884
"pip install unroll": "python setup.py egg_info" failed with error code 1
How to install libxml2 in virtualenv?
i work on fedora 27 os
If I'm not mistaken, you would need the libxml2 development files. Try running
yum install libxml2-devel
then run the pip install again