在对 settings.py 进行适当的更改后,即。我提到数据库名称为 sqlite3:python manage.py syncdb
它给出了以下错误
Traceback (most recent call last):
File "manage.py", line 8, in ?
from django.core.management import execute_from_command_line
File "/usr/lib/python2.4/site-packages/django/core/management/__init__.py", line 11, in ?
get_version = django.get_version
AttributeError: 'module' object has no attribute 'get_version'
请注意,我在 venv 目录中安装了 django,并且在此 virtualenv 目录中安装了 python。可能是什么问题呢?