Py学习  »  Django

Django 启动错误很是无解,求帮忙看下

tiantang0809 • 10 年前 • 3369 次点击  
./manage.py runserver 8080
Traceback (most recent call last):
  File "./manage.py", line 10, in <module>
    execute_from_command_line(sys.argv)
  File "/usr/local/lib/python2.7/dist-packages/Django-1.7.3-py2.7.egg/django/core/management/__init__.py", line 385, in execute_from_command_line
    utility.execute()
  File "/usr/local/lib/python2.7/dist-packages/Django-1.7.3-py2.7.egg/django/core/management/__init__.py", line 377, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/usr/local/lib/python2.7/dist-packages/Django-1.7.3-py2.7.egg/django/core/management/__init__.py", line 238, in fetch_command
    klass = load_command_class(app_name, subcommand)
  File "/usr/local/lib/python2.7/dist-packages/Django-1.7.3-py2.7.egg/django/core/management/__init__.py", line 41, in load_command_class
    module = import_module('%s.management.commands.%s' % (app_name, name))
  File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module
    __import__(name)
  File "/usr/local/lib/python2.7/dist-packages/Django-1.7.3-py2.7.egg/django/contrib/staticfiles/management/commands/runserver.py", line 4, in <module>
    from django.core.management.commands.runserver import Command as RunserverCommand
  File "/usr/local/lib/python2.7/dist-packages/Django-1.7.3-py2.7.egg/django/core/management/commands/runserver.py", line 15, in <module>
    from django.utils import autoreload
  File "/usr/local/lib/python2.7/dist-packages/Django-1.7.3-py2.7.egg/django/utils/autoreload.py", line 64, in <module>
    fd = pyinotify.INotifyWrapper.create().inotify_init()
AttributeError: 'module' object has no attribute 'INotifyWrapper'

本来以为是python中没有pyinotify,安装了还是这个样子,求帮忙看下在线等

Python社区是高质量的Python/Django开发社区
本文地址:http://www.python88.com/topic/913
 
3369 次点击  
文章 [ 1 ]  |  最新文章 10 年前
Py站长
Reply   •   1 楼
Py站长    10 年前

AttributeError: 'module' object has no attribute 'INotifyWrapper'

你看下 pyinotify.INotifyWrapper 这个接口在不在

估计是版本不对?