python 解决Could not import the lzma module. Your installed Python is incomplete问题

python 安装好pandas后import报错
如下图:
image

原因分析

在执行./configure和make install的时候出现错误提示,被忽略了,如下图:
image

解决方法

安装yum install -y xz-devel
然后重新安装python,执行./configure和make install

posted on 2023-08-15 11:53  每天进步一点点点点点  阅读(272)  评论(0编辑  收藏  举报