Linux 下出现No module named _sqlite3

1,首先安装 sqlite-devel

yum install sqlite-devel

 

2,重新编译安装Python

./configure
make
make install

 

转载于:https://www.cnblogs.com/kevinlucky/p/9728023.html

你可能感兴趣的:(Linux 下出现No module named _sqlite3)