当出现
ModuleNotFoundError: No module named ‘_lzma’
的时候
参考 https://blog.csdn.net/qq_41872848/article/details/120471710
修改 27 行
try:
from _lzma import *
from _lzma import _encode_filter_properties, _decode_filter_properties
except ImportError:
from backports.lzma import *
from backports.lzma import _encode_filter_properties, _decode_filter_properties
然后 apt install -y liblzma-dev 即可。