Please use AIX open source software forum for questions/issues related to open source and AIX toolbox.https://community.ibm.com/community/user/power/communities/community-home/digestviewer?communitykey=10c1d831-47ee-4d92-a138-b03f7896f7c9&tab=digestviewer
I did not face any issue in installing lxml python module using pip.
# python3 -m pip install lxml --no-cache-dir
Collecting lxml
Downloading lxml-4.6.3.tar.gz (3.2 MB)
|################################| 3.2 MB 4.8 MB/s
Using legacy setup.py install for lxml, since package 'wheel' is not installed.
Installing collected packages: lxml
Running setup.py install for lxml ... done
Successfully installed lxml-4.6.3
WARNING: You are using pip version 20.1.1; however, version 21.1.2 is available.
You should consider upgrading via the '/opt/freeware/bin/python3 -m pip install --upgrade pip' command.
# rpm -qa | grep python3
python3-3.7.10-2.ppc
python3-devel-3.7.10-2.ppc
python3-tools-3.7.10-2.ppc
# rpm -qa | grep libxml2
libxml2-2.9.10-1.ppc
libxml2-devel-2.9.10-1.ppc
libxml2-python-2.9.10-1.ppc
# rpm -qa | grep libxslt
libxslt-1.1.32-1.ppc
libxslt-devel-1.1.32-1.ppc
------------------------------
SANKET RATHI
------------------------------
Original Message:
Sent: Thu June 17, 2021 05:13 PM
From: Ed Stuart
Subject: lxml For Python3
Tried to install lxml-4.6.3 using Python pip and the source files. However, it fails and reports that it is missing two dependencies, the libxml2 and libxslt development packages. However, rpm reports that both of these are installed. I do not have very much experience in this arena so any assistance would be much appreciated.
------------------------------
Ed Stuart
Original Message:
Sent: Wed June 16, 2021 11:38 AM
From: Ed Stuart
Subject: lxml For Python3
Hello; we are running AIX 7.1 and need to add lxml to our Python3 installation. If you have had success in doing this would you please share your steps? Thank-you in advance.
------------------------------
Ed Stuart
------------------------------