运行./manage syncdb时出现Django错误

时间:2014-12-17 06:14:09

标签: django python-2.7 virtualenv optparse syncdb

我是Django的新手,我有一个现有项目,我需要运行服务器,我激活虚拟环境 并安装文件中的所有要求" requirements.txt"那么  我尝试 syncdb ,我收到了这个错误:(所有要求都安装得很好)

(venv)➜gategit :( master)✗。/ manwewe.py syncdb

Traceback (most recent call last):
  File "./manageweb.py", line 12, in <module>
    execute_from_command_line(sys.argv)
  File "/Users/almog/django-trunk/django/core/management/__init__.py",
line 338, in execute_from_command_line
    utility.execute()
  File "/Users/almog/django-trunk/django/core/management/__init__.py",
line 330, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/Users/almog/django-trunk/django/core/management/base.py",
line 378, in run_from_argv
    parser = self.create_parser(argv[0], argv[1])
  File "/Users/almog/django-trunk/django/core/management/base.py",
line 327, in create_parser
    parser.add_option(opt)
  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/optparse.py",
line 1021, in add_option
    self._check_conflict(option)
  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/optparse.py",
line 996, in _check_conflict
    option)
optparse.OptionConflictError: option --verbosity: conflicting option
string(s): --verbosity
  • 我在OS X优胜美地工作。

0 个答案:

没有答案