Closed kpgtek closed 1 year ago
This is a bug for tdp-lib
you should not install python package for tdp-lib
because it use a python virtual env for deployment.
This is not a bug for tdp-lib
, lxml is required for merging task in ranger role
So this is not a tdp deploy
bug, this is an Ansible tasks bug.
With CentOS 7 using Python2 by default, the package python-lxml
is already installed by default.
Now with Rocky 8 using Python3, this package is not installed by default.
Perharps it is needed to add it explicitly in tdp-collection-prerequisites
, but this package exists for different versions of Python3.
Yes we should install the python3-lxml
. Ansible use the default python 3 on Rocky 8.
On Rocky 8,
tdp deploy
failes in few tasks with the error message "Failed to import the required Python library (lxml)
".There are 4 packages for Python
lxml
library provided from theappstream
repository:I have tested with the installation of
python3-lxml
package, it seems this works and is compatible with Python v3.6 installed on my system: