Traceback (most recent call last):


 "/home/tuananhbien/anaconda3/envs/ducnhom/lib/python2.7/site-packages/django/utils/autoreload.py", line 228, in wrapper

fn(*args, **kwargs)


 "/home/tuananhbien/anaconda3/envs/ducnhom/lib/python2.7/site-packages/django/core/management/commands/runserver.py", line 125, in inner_run

self.check(display_num_errors=True)


 "/home/tuananhbien/anaconda3/envs/ducnhom/lib/python2.7/site-packages/django/core/management/base.py", line 359, in check

include_deployment_checks=include_deployment_checks,


 "/home/tuananhbien/anaconda3/envs/ducnhom/lib/python2.7/site-packages/django/core/management/base.py", line 346, in _run_checks

return checks.run_checks(**kwargs)


 "/home/tuananhbien/anaconda3/envs/ducnhom/lib/python2.7/site-packages/django/core/checks/registry.py", line 81, in run_checks

new_errors = check(app_configs=app_configs)


 "/home/tuananhbien/anaconda3/envs/ducnhom/lib/python2.7/site-packages/django/core/checks/urls.py", line 16, in check_url_config

return check_resolver(resolver)


 "/home/tuananhbien/anaconda3/envs/ducnhom/lib/python2.7/site-packages/django/core/checks/urls.py", line 26, in check_resolver

return check_method()


 "/home/tuananhbien/anaconda3/envs/ducnhom/lib/python2.7/site-packages/django/urls/resolvers.py", line 254, in check

for pattern in self.url_patterns:


 "/home/tuananhbien/anaconda3/envs/ducnhom/lib/python2.7/site-packages/django/utils/functional.py", line 35, in __get__

res = instance.__dict__[self.name] = self.func(instance)


 "/home/tuananhbien/anaconda3/envs/ducnhom/lib/python2.7/site-packages/django/urls/resolvers.py", line 405, in url_patterns

patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)


 "/home/tuananhbien/anaconda3/envs/ducnhom/lib/python2.7/site-packages/django/utils/functional.py", line 35, in __get__

res = instance.__dict__[self.name] = self.func(instance)


 "/home/tuananhbien/anaconda3/envs/ducnhom/lib/python2.7/site-packages/django/urls/resolvers.py", line 398, in urlconf_module

return import_module(self.urlconf_name)


 "/home/tuananhbien/anaconda3/envs/ducnhom/lib/python2.7/importlib/__init__.py", line 37, in import_module

__import__(name)


 "/home/tuananhbien/ducnhom/services/sbox4net/urls.py", line 21, in <module>

from agents.monitor.views import SecurityEventsListView, SecurityEventsDetailsView, NetworkSecurityAlertDetailsView, \


 "/home/tuananhbien/ducnhom/services/agents/monitor/views.py", line 14, in <module>

from django_filters.rest_framework import DjangoFilterBackend


 "/home/tuananhbien/anaconda3/envs/ducnhom/lib/python2.7/site-packages/django_filters/__init__.py", line 4, in <module>

from .filterset import FilterSet


 "/home/tuananhbien/anaconda3/envs/ducnhom/lib/python2.7/site-packages/django_filters/filterset.py", line 184

def __init__(self, data=None, queryset=None, *, request=None, prefix=None):

^
SyntaxError: invalid syntax


Traceback (most recent call last):


 "<string>", line 1, in <module>


 "/tmp/pip-build-6t71hxt_/scapy/setup.py", line 36

os.chmod(fname, 0755)

^

SyntaxError: invalid token
