IMPORTERROR: NO MODULE NAMED _SQLITE3

1、编译sqlite3

wget http://www.sqlite.org/sqlite-amalgamation-3.6.20.tar.gz

tar zxvf  sqlite-amalgamation-3.6.20.tar.gz

cd  sqlite-3.6.20

./configure –prefix=/usr/local/lib/sqlite3

make

make install

2、重新编译python

./configure

make

make install  

猜你喜欢

转载自blog.csdn.net/W1948730080/article/details/81912257
今日推荐