标签:
linux 执行django(python manage.py runserver),报错No module named _sqlite3,需要安装sqlite-devel,再重新编译安装python。
1、安装sqlite-devel
yum install sqlite-devel
2、重新安装python
tar -zxf Python-2.7.3.tgz cd Python-2.7.3 ./configure make && make install
然后就可以了。
No module named _sqlite3 django python manage.py runserver
标签:
原文地址:http://www.cnblogs.com/BlueBreeze/p/4234364.html