环境
Centos: Linux release 8.4.2105 (Core)Python: 3.9.5GCC: 8.4.1 20200928 (Red Hat 8.4.1-1)
问题在Centos安装pandas包后运行报错:
1Could not import the lzma module. Your installed Python is incomplete. Attempting to use lzma compression will result in a RuntimeError.
原因及解决办法因为我环境上的Python 3.9.5是源码安装的,所以必须预先安装...