The _lzma module is internal and your list shows indeed an available lzma module.
In my current environment it’s located at:
/anaconda3/envs/pytorch_181_cuda102/lib/python3.8/lzma.py

Could you check, if a direct import also fails:
import lzma