Questions tagged [lxml]

lxml is a Python library for XML/HTML processing.

7 questions
3
votes
1 answer

Cannot install lxml on Ubuntu 14

I have problems installing lxml on my virtual machine, cloud server, Ubuntu 14.04.2 with 512MB RAM. For people that are going through this, I will document little steps of problems that occurred on the path. First I didn't install requirements, so…
Tommz
  • 231
2
votes
0 answers

libxml/xmlversion.h: No such file or directory

I am installing dragnet in python. I got this error at the time of installation. dragnet/blocks.cpp:261:31: fatal error: libxml/xmlversion.h: No such file or directory After google for the issue I got to know that this will solve my problem sudo…
Wazzzy
  • 147
1
vote
0 answers

Python pip says AttributeError with xmlrpc

I got this error when i update pip. /usr/local/bin/pip run on Tue May 6 15:03:16 2014 Exception: Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/pip/basecommand.py", line 122, in main status = self.run(options,…
Sun eel Kumar
  • 109
  • 10
1
vote
1 answer

lxml.etree import error w python2/3 in ubuntu 22.04

I have this strange import error with lxml.etree [exec] Creating deb files [exec] Traceback (most recent call last): [exec] File "../../../../filtec-bin/packages/alpacaKV_packaging/packager.py", line 20, in [exec] import…
simgineer
  • 379
0
votes
1 answer

Error importing lxml package python in Ubuntu

When I try importing lxml package in python I am receiving the following error. Traceback (most recent call last): File "", line 1, in File "/usr/lib/python2.7/dist-packages/lxml/html/__init__.py", line 42, in from…
ZodEnIX
  • 143
  • 1
  • 1
  • 7
0
votes
1 answer

Installing both lxml 3.1.2 and lxml2 on ubuntu 12.04

I asked this on SO: https://stackoverflow.com/questions/19852911/lxml-3-1-2-and-lxml2-both-on-ubuntu/19856674#19856674 But it is perhaps more appropriate for AskUbuntu. So here it is again, reformulated. On the lxml site they suggest that it is…
wgw
  • 113
0
votes
0 answers

ERROR: Failed building wheel for lxml

Please I'm not a computer guy or anything am just trying to install a script by typing : pip install -r requirements.txt and then this error shows up twice during the process and I have no idea why : First : Compile failed: command…