Traceback (most recent call last):


 "/usr/bin/remarkable", line 65, in <module>

import remarkable


 "/usr/lib/python3.8/site-packages/remarkable/__init__.py", line 26, in <module>

import gi


 "/usr/lib/python3.8/site-packages/gi/__init__.py", line 42, in <module>

from . import _gi
ImportError: libffi.so.6: cannot open shared object file: No such file or directory

Traceback (most recent call last):


 "tools/train.py", line 16, in <module>

from mmdet.apis import set_random_seed, train_detector


 "/home/zzf/Desktop/D2Det/tools/../mmdet/apis/__init__.py", line 1, in <module>

from .inference import (async_inference_detector, inference_detector,


 "/home/zzf/Desktop/D2Det/tools/../mmdet/apis/inference.py", line 11, in <module>

from mmdet.core import get_classes


 "/home/zzf/Desktop/D2Det/tools/../mmdet/core/__init__.py", line 7, in <module>

from .post_processing import *
# noqa: F401, F403


 "/home/zzf/Desktop/D2Det/tools/../mmdet/core/post_processing/__init__.py", line 1, in <module>

from .bbox_nms import multiclass_nms, multiclass_nms1


 "/home/zzf/Desktop/D2Det/tools/../mmdet/core/post_processing/bbox_nms.py", line 3, in <module>

from mmdet.ops.nms import nms_wrapper


 "/home/zzf/Desktop/D2Det/tools/../mmdet/ops/__init__.py", line 2, in <module>

from .dcn import (DeformConv, DeformConvPack, DeformRoIPooling,


 "/home/zzf/Desktop/D2Det/tools/../mmdet/ops/dcn/__init__.py", line 1, in <module>

from .deform_conv import (DeformConv, DeformConvPack, ModulatedDeformConv,


 "/home/zzf/Desktop/D2Det/tools/../mmdet/ops/dcn/deform_conv.py", line 10, in <module>

from . import deform_conv_cuda
ImportError: cannot import name 'deform_conv_cuda' from 'mmdet.ops.dcn' (/home/zzf/Desktop/D2Det/tools/../mmdet/ops/dcn/__init__.py)
