1👍
✅
You should try removing the Ubuntu supplied python-lxml if you have it installed and install using pip instead:
sudo dpkg --purge python-lxml
sudo pip install lxml
Then re-run rebuild_index
Source:stackexchange.com