Traceback (most recent call last):


 "test_net.py", line 30, in <module>

from model.utils.net_utils import save_net, load_net, vis_detections


 "/home/xm0036/faster-rcnn.pytorch/lib/model/utils/net_utils.py", line 8, in <module>

from model.roi_crop.functions.roi_crop import RoICropFunction


 "/home/xm0036/faster-rcnn.pytorch/lib/model/roi_crop/functions/roi_crop.py", line 4, in <module>

from .._ext import roi_crop


 "/home/xm0036/faster-rcnn.pytorch/lib/model/roi_crop/_ext/roi_crop/__init__.py", line 2, in <module>

from torch.utils.ffi import _wrap_function


 "/home/xm0036/.local/lib/python3.6/site-packages/torch/utils/ffi/__init__.py", line 1, in <module>

raise ImportError("torch.utils.ffi is deprecated. Please use cpp extensions instead.")
ImportError: torch.utils.ffi is deprecated. Please use cpp extensions instead.`
Traceback (most recent call last):


 "/.../modoboa/instance/manage.py", line 10, in <module>

execute_from_command_line(sys.argv)


 "/.../modoboa/env/lib/python2.7/site-packages/django/core/management/__init__.py", line 364, in execute_from_command_line

utility.execute()


 "/.../modoboa/env/lib/python2.7/site-packages/django/core/management/__init__.py", line 356, in execute

self.fetch_command(subcommand).run_from_argv(self.argv)


 "/.../modoboa/env/lib/python2.7/site-packages/django/core/management/__init__.py", line 206, in fetch_command

klass = load_command_class(app_name, subcommand)


 "/.../modoboa/env/lib/python2.7/site-packages/django/core/management/__init__.py", line 40, in load_command_class

module = import_module('%s.management.commands.%s' % (app_name, name))


 "/usr/lib64/python2.7/importlib/__init__.py", line 37, in import_module

__import__(name)


 "/.../modoboa/env/lib/python2.7/site-packages/modoboa/admin/management/commands/modo.py", line 10, in <module>

from .subcommands._import import ImportCommand


 "/.../modoboa/env/lib/python2.7/site-packages/modoboa/admin/management/commands/subcommands/_import.py", line 10, in <module>

import progressbar


 "/.../modoboa/env/lib/python2.7/site-packages/progressbar/__init__.py", line 58, in <module>

from progressbar.compat import *
ImportError: No module named compat
