【发布时间】:2017-07-27 04:30:26
【问题描述】:
我尝试在我的环境中重新安装 python 2。
重新安装pip、setuptools
当我尝试运行 python manage.py runserver 时会抛出错误
django.core.exceptions.ImproperlyConfigured: Error loading either pysqlite2 or sqlite3 modules (tried in that order): No module named _sqlite3
我尝试安装 sqlite 3,它已经安装了
我尝试安装 pysqlite2 ,它已经安装了
python 2 和安装在我的 ubuntu 16.04 中,django 版本 = 1.8.X
仍然不知道导致错误的原因?
【问题讨论】:
标签: django python-2.7 python-3.x sqlite django-1.8