I am trying to install lxml
package after i installed BeautifulSoup4
package.
In the terminal i type:
sudo pip install lxml
This is what i get
sudo pip install lxml
Downloading/unpacking lxml
Running setup.py egg_info for package lxml
Building lxml version 3.6.1.
Building without Cython.
Using build configuration of libxslt 1.1.26
Building against libxml2/libxslt in the following directory: /usr/lib
Installing collected packages: lxml
Running setup.py install for lxml
Building lxml version 3.6.1.
Building without Cython.
Using build configuration of libxslt 1.1.26
Building against libxml2/libxslt in the following directory: /usr/lib
building 'lxml.etree' extension
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/libxml2 -Isrc/lxml/includes -I/usr/include/python2.7 -c src/lxml/lxml.etree.c -o build/temp.linux-armv9l-2.7/src/lxml/lxml.etree.o -w
And then it just hangs there at the last line for a very long long time, I have to exit by pressing CTRL+C.
Can someone tell me what it really means?
I then try pip freeze
to see if the package is installed. No, it is not there.
well you could open python and try importing it. But if its python 3 try this
sudo apt-get install python3-lxml
else its
sudo apt-get install python-lxml
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With